v0.1.0 · Interface
http-req
HTTP requests.
Records
R
cache-override-details
RThe fields for the
override arm of cache-override.dns-error-detail
RVariant fields for
send-error.dns-error.tls-alert-received-detail
RVariant fields for
send-error.tls-alert-received.h2-error-detail
RVariant fields for
send-error.h2-error.error-with-detail
An
error 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 (
Content-Length/Transfer-Encoding) are set for aresponse
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
send-async as send-uncached is to send.send-async-streaming
FBegins sending the request to the given backend server, and returns a
send-async-uncached-streaming
FThis is to
send-async-streaming as send-uncached is to send.await-response
FWaits until the request is completed, and then returns the resulting
close
FCloses the
request, releasing any associated resources.upgrade-websocket