Http2Connection Type
Constructors
| Constructor | Description |
|
|
Instance members
| Instance member | Description |
|
|
|
|
Full Usage:
this.dispatchUpgradeRequest originalRequest webPart
Parameters:
HttpRequest
webPart : WebPart
Returns: Async<unit>
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.run originalRequest webPart
Parameters:
HttpRequest option
webPart : WebPart
Returns: Async<Result<unit, Error>>
|
|
|
|
|
|
|
|
|
|
|
|
|
Run the HTTP/2 connection-preface exchange for prior-knowledge mode (RFC 7540 §3.4). The caller has already consumed the first 16 bytes of the 24-byte preface as an HTTP/1.1-looking request line ("PRI * HTTP/2.0\r\n") via the normal request-line reader. This method reads the remaining 8 preface bytes ("\r\nSM\r\n\r\n") and sends our own (potentially empty) SETTINGS frame as the server connection preface.
|
Full Usage:
this.stop ()
|
|
Full Usage:
this.write (encInfo, p)
Parameters:
EncodeInfo
p : FramePayload
Returns: SocketOp<unit>
|
|
Full Usage:
this.writeLoop ctxOuter webPart
Parameters:
HttpContext
webPart : WebPart
Returns: Async<unit>
|
|
Full Usage:
this.writeResponseOnStream streamId response trailers
Parameters:
int32
response : HttpResult
trailers : (string * string) list
Returns: Async<unit>
|
Write a single HTTP/2 response (HEADERS + 0..n DATA + optional trailing HEADERS) on `streamId`, respecting `peerSettings.maxFrameSize` and the outbound flow-control windows. Setting trailers via `Trailers.set` on the response context is honoured: when present, the final DATA frame does NOT set END_STREAM and a trailing HEADERS frame with END_STREAM is emitted after the body.
|
Full Usage:
this.writeResponseToFrame response
Parameters:
HttpResult
Returns: Async<unit>
|
|