HttpHandler

class HttpHandler(dispatcher: RpcDispatcher, rpcPoll: RpcPoll) : HttpTransport

Implements HttpTransport based on the given RpcDispatcher and RpcPoll. Useful to route incoming HTTP requests on the server.

Constructors

Link copied to clipboard
constructor(dispatcher: RpcDispatcher, rpcPoll: RpcPoll)

Functions

Link copied to clipboard
open suspend override fun post(url: String, data: ByteString): ByteString