v0.1.0 · Interface
http-req
HTTP requests.
Records
R
cache-override-details
RThe fields for the <code>override</code> arm of <code>cache-override</code>.
dns-error-detail
RVariant fields for <code>send-error.dns-error</code>.
tls-alert-received-detail
RVariant fields for <code>send-error.tls-alert-received</code>.
h2-error-detail
RVariant fields for <code>send-error.h2-error</code>.
error-with-detail
An <code>error</code> code, optionally with extra request error information.
Type Aliases
T
error
TA common error type used by many functions in this package.
ip-address
TIPv4 or IPv6 addresses.
http-version
THTTP protocol versions.
content-encodings
THTTP [content encoding] flags
framing-headers-mode
TDetermines how the framing headers (<code>Content-Length</code>/<code>Transfer-Encoding</code>) are set for a
response
TAn HTTP response.
body
TAn object supporting generic async operations.
response-with-body
Tbackend
Tpending-response
TAn object supporting generic async operations.
pending-request
TAn object supporting generic async operations.
request-with-body
Functions
F
send
FRetrieves a response for the request, either from cache or by sending it
send-uncached
FSends the request directly to the backend server without performing any
send-async
FBegins sending the request to the given backend server, and returns a
send-async-uncached
FThis is to <code>send-async</code> as <code>send-uncached</code> is to <code>send</code>.
send-async-streaming
FBegins sending the request to the given backend server, and returns a
send-async-uncached-streaming
FThis is to <code>send-async-streaming</code> as <code>send-uncached</code> is to <code>send</code>.
await-response
FWaits until the request is completed, and then returns the resulting
close
FCloses the <code>request</code>, releasing any associated resources.
upgrade-websocket