import { type UpgradeWebSocketOptions } from "https://deno.land/x/oak@v14.1.1/types.ts";
Module
x/oak/types.ts>UpgradeWebSocketOptions
A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
examplesfixturesmiddlewareetaghelperstestingApplicationContextCookiesHttpErrorHttpServerNativeMultiPartStreamNativeRequestRequestResponseRouteContextRouterServeContextServerSentEventApplicationOptionsByteRangeContextSendOptionsCookiesGetOptionsCookiesSetDeleteOptionsListenOptionsBaseListenOptionsTlsMiddlewareMiddlewareObjectProxyOptionsRouteRouterAllowedMethodsOptionsRouterContextRouterMiddlewareRouterOptionsRouterParamMiddlewareSendOptionsServerConstructorServerSentEventInitServerSentEventTargetBodyTypeErrorStatusHTTPMethodsListenOptionsMiddlewareOrMiddlewareObjectNextRedirectStatusRouteParamsStatehttpErrorsREDIRECT_BACKSTATUS_TEXTcomposeMiddlewarecreateHttpErrorifRangeisErrorStatusisHttpErrorisRedirectStatusparseRangeproxyroutesendserveStatusApplicationApplicationCloseEventApplicationErrorEventApplicationListenEventApplicationOptionsListenOptionsBaseListenOptionsTlsListenOptionsStateHttpErrorKeyStackLimitedReaderSecureCookieMapServerSentEventServerSentEventStreamTargetUserAgentETagOptionsFileInfoHttpErrorOptionsKeyParseOptionsSecureCookieMapGetOptionsSecureCookieMapSetDeleteOptionsServerSentEventInitServerSentEventTargetServerSentEventTargetOptionsTokensToRegexpOptionsErrorStatusHTTPMethodsRedirectStatuserrorsSEPARATORSTATUS_TEXTacceptsacceptsEncodingsacceptsLanguagesassertbasenamecalculatecompileconcatcontentTypecopyBytescreateHttpErrorencodeBase64extnameifMatchifNoneMatchisAbsoluteisErrorStatusisHttpErrorisRedirectStatusjoinmatchesmergeHeadersnormalizeparsepathMatchpathParsepathToRegexpreadAlltimingSafeEqualtypeByExtensionStatusMiddlewareMiddlewareObjectMiddlewareOrMiddlewareObjectNextcomposeisMiddlewareObjectLayerRouterRouteRouterAllowedMethodsOptionsRouterContextRouterMiddlewareRouterOptionsRouterParamMiddlewareRouteParamsassertEqualsassertInstanceOfassertRejectsassertStrictEqualsassertThrowsunreachableHttpServerListenerNetAddrOakServerServeHandlerInfoServeInitServeOptionsServerConstructorServerRequestServeTlsOptionsUpgradeWebSocketOptionsDataKeyServeHandlerUpgradeWebSocketFnUint8ArrayTransformStreamReadableStreamFromReaderOptionsBODY_TYPESDEFAULT_CHUNK_SIZEcreatePromiseWithResolversdecodeComponentencodeBase64SafeencodeUrlgetBoundarygetRandomFilenameimportKeyisAsyncIterableisBunisHtmlisListenTlsOptionsisNetAddrisNodeisReaderisRouterContextreadableStreamFromAsyncIterablereadableStreamFromReaderresolvePathsignskipLWSPCharstripEol
mod.ts (default module)
N
N
N
c
c
c
c
c
c
c
c
c
c
c
c
c
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
v
v
v
f
f
f
f
f
f
f
f
f
f
f
E
application.ts
c
c
c
c
I
I
I
T
T
deps.ts
c
c
c
c
c
c
c
I
I
I
I
I
I
I
I
I
I
I
T
T
T
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
E
middleware.ts
I
I
T
T
f
f
router.ts
c
c
I
I
I
I
I
I
T
test_deps.ts
f
f
f
f
f
f
types.ts
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
util.ts
c
I
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f