AsyncGetContext()
Signature: unit -> Async<HttpListenerContext>
|
Asynchronously waits for an incoming request and returns it.
CompiledName: HttpListener.AsyncGetContext
|
AsyncInputString
Signature: Async<string>
|
Asynchronously reads the 'InputStream' of the request and converts it to a string
CompiledName: HttpListenerRequest.get_AsyncInputString
|
AsyncInputString
Signature: Async<string>
|
Asynchronously reads the 'InputStream' of the request and converts it to a string
CompiledName: HttpListenerRequest.get_AsyncInputString
|
AsyncReply(s)
Signature: s:string -> Async<unit>
|
Sends the specified string as a reply in UTF 8 encoding
CompiledName: HttpListenerResponse.AsyncReply
|
AsyncReply(typ, buffer)
Signature: (typ:string * buffer:byte []) -> Async<unit>
|
Sends the specified data as a reply with the specified content type
CompiledName: HttpListenerResponse.AsyncReply
|
Start(url, handler, ?cancellationToken)
Signature: (url:string * handler:(HttpListenerRequest * HttpListenerResponse -> Async<unit>) * cancellationToken:CancellationToken option) -> unit
|
Starts HttpListener on the specified URL. The 'handler' function is
called (in a new thread pool thread) each time an HTTP request is received.
CompiledName: HttpListener.Start.Static
|