[][src]Crate ic_http_handler

Structs

HttpHandler

The struct that handles incoming HTTP requests for the IC replica. This is collection of thread-safe data members.

Functions

init_server_blocking
start_server

Creates HTTP server, binds to HTTP port and handles HTTP requests forever. This async function never returns unless binding to the HTTP port fails. The function spawns a tokio task per connection.