import * as shed from "https://raw.githubusercontent.com/worker-tools/shed/master/index.ts";
AbstractHTML abstract | |
BufferedByteStreamResponse | |
BufferedHTMLResponse | If for any reason you don't want to use streaming response bodies, you can use this class instead, which will buffer the entire body before releasing it to the network. Note that headers will still be sent immediately. |
BufferedResponse | If for any reason you don't want to use streaming response bodies, you can use this class instead, which will buffer the entire body before releasing it to the network. Note that headers will still be sent immediately. |
BufferedStreamResponse | If for any reason you don't want to use streaming response bodies, you can use this class instead, which will buffer the entire body before releasing it to the network. Note that headers will still be sent immediately. |
ByteStreamRequest | |
ByteStreamResponse | |
EffectsList | |
EncryptedCookieStore | Encrypted Cookie StoreA partial implementation of the Cookie Store API that transparently encrypts and decrypts cookies via AES-GCM. |
ExtendablePromise | |
Fallback | |
HTML | |
HTMLResponse | TBD |
JSONParseNexus deprecated | |
JSONParseStream | |
JSONRequest | |
JSONResponse | |
JSONStreamRequest | |
JSONStreamResponse | |
JSONStringifyReadable | |
JSONStringifyStream | |
ParamsURL | Like |
RequestCookieStore | An implementation of the Cookie Store API for request handlers. |
ResolvablePromise | |
SearchParamsURL | Like |
SearchURL | Like |
SignedCookieStore | Signed Cookie StoreA partial implementation of the Cookie Store API that transparently signs and verifies cookies via the Web Cryptography API. |
StreamRequest | |
StreamResponse | |
UnsafeHTML | |
WorkerRouter |
accepts | Determines if a request body content type is acceptable to this endpoint. |
acceptsEncodings | Determines if a request body content encoding is acceptable to this endpoint. |
acceptsLanguages | Determines if a request body content language is acceptable to this endpoint. |
combine | Type-enforcing left-to-right function composition function. The first parameter can be a function of any arity, but the remaining parameters must be unary functions. The return type of one function must be compatible with the argument of next function in the argument list (i.e. types flow from left-to-right) |
contentEncodings | Performs content negotiation over the content encoding of the response. |
contentLanguages | Performs content negotiation over the content language of the response. |
contentTypes | Performs content negotiation over the content type of the response. |
cookieSession | Cookie session middleware for worker runtimes. |
cookiesFrom | |
createMiddleware | A helper function to create user-defined middleware. |
css | |
executeEffects deprecated | |
fallback | |
html | |
js | |
jsonFetch | |
jsonStringifyGenerator deprecated | |
jsonStringifyStream deprecated | |
provides | Performs content negotiation over the content type of the response. |
providesEncodings | Performs content negotiation over the content encoding of the response. |
providesLanguages | Performs content negotiation over the content language of the response. |
resolvablePromise deprecated | |
storageSession | Session middleware for worker runtimes. |
unsafeHTML | |
withMiddleware deprecated | Takes a handler function of the form |
AllowedKey | |
Awaitable | |
BodyContext | |
BodyParsable | |
BodyParserDeps | |
ByteStreamBodyInit | |
ByteStreamRequestInit | |
CacheOptions | The Cache-Control HTTP header field holds directives (instructions) — in both requests and responses — that control caching in browsers and shared caches (e.g. Proxies, CDNs). |
ContextOf | Helper type to get the context type of a given middleware function. |
CookieList | |
Cookies | An object of the cookies sent with this request. It is for reading convenience only. To make changes, use the associated cookie store instead (provided by the middleware along with this object) |
CookieSameSite | |
ErrorContext deprecated | |
ErrorHandler | |
Handler | |
HTMLContent | |
HTMLContentStatic | |
JSONBodyInit | |
JSONRequestInit | |
JSONStreamBodyInit | |
JSONStreamRequestInit | |
Key | |
Method | |
Middleware | |
Options | |
PromiseSettledResult | |
Rec | Any record of unknown values |
Reject | |
Renderable | |
RequestInitExStatus | |
ResolvablePromiseInit | |
Resolve | |
ResponseEffect | |
SearchParamsInit | |
StreamBodyInit | |
StreamRequestInit | |
StrictCORSOptions | |
ToJSON | |
Unpackable | |
URLPatternInput |