Modules
Standard Library
Third Party Modules
NPM
Docs
Manual
API
Deploy
Community
Discord
GitHub
Twitter
YouTube
Mastodon
Search...
⌘ K
!--frsh-globalsearch:0-->
Module
x
/
oak
/
node_shims.ts
A middleware framework for handling HTTP with Deno 🐿️ 🦕
oakserver/oak
Very Popular
Version
v17.1.3
v17.1.2
v17.1.1
v17.1.0
v17.0.0
v16.1.0
v16.0.0
v15.0.0
14.2.0
v14.1.1
v14.1.0
v14.0.0
v13.2.5
13.2.4
v13.2.3
v13.2.2
v13.2.1
v13.2.0
v13.1.0
v13.0.1
v13.0.0
v12.6.2
v12.6.1
v12.6.0
v12.5.0
v12.4.0
v12.3.1
v12.3.0
v12.2.0
v12.1.0
v12.0.1
v12.0.0
v11.1.0
v11.0.0
v10.6.0
v10.5.1
v10.4.0
v10.3.0
v10.2.1
v10.2.0
v10.1.1
v10.1.0
v10.0.0
v9.0.1
v9.0.0
v8.0.0
v7.7.0
v7.6.3
v7.6.2
v7.6.1
v7.6.0
v7.5.0
v7.4.1
v7.4.0
v7.3.0
v7.2.0
v7.1.0
v7.0.0
v6.5.1
v6.5.0
v6.4.2
v6.4.1
v6.4.0
v6.3.2
v6.3.1
v6.3.0
v6.2.0
v6.1.0
v6.0.2
v6.0.1
v6.0.0
v5.4.0
v5.3.1
v5.3.0
v5.2.0
v5.1.1
v5.1.0
v5.0.0
v4.0.0
v3.7.0
v3.6.0
v3.5.0
v3.4.0
v3.3.0
v3.2.0
v3.1.0
v3.0.0
v2.10.0
v2.9.0
v2.8.0
v2.7.0
v2.6.0
v2.5.0
v2.4.0
v2.3.0
v2.2.0
v2.1.0
v2.0.0
v1.0.0
Go to Latest
!--frsh-versionselect:1-->
Menu
examples
fixtures
middleware
mod.ts
(default module)
N
etag
N
helpers
N
testing
c
Application
c
Context
c
Cookies
c
FormDataReader
c
HttpError
c
HttpServerNative
c
MultiPartStream
c
NativeRequest
c
Request
c
Response
c
Router
c
ServerSentEvent
I
ApplicationOptions
I
BodyContentTypes
I
BodyOptions
I
BodyOptionsContentTypes
I
ByteRange
I
ContextSendOptions
I
CookiesGetOptions
I
CookiesSetDeleteOptions
I
FormDataBody
I
FormDataFile
I
FormDataReadOptions
I
ListenOptionsBase
I
ListenOptionsTls
I
Middleware
I
ProxyOptions
I
Route
I
RouterAllowedMethodsOptions
I
RouterContext
I
RouterMiddleware
I
RouterOptions
I
RouterParamMiddleware
I
SendOptions
I
ServerConstructor
I
ServerSentEventInit
I
ServerSentEventTarget
T
BodyBytes
T
BodyForm
T
BodyFormData
T
BodyJson
T
BodyReader
T
BodyStream
T
BodyText
T
BodyType
T
BodyUndefined
T
ErrorStatus
T
HTTPMethods
T
ListenOptions
T
RedirectStatus
T
RouteParams
T
State
v
httpErrors
v
REDIRECT_BACK
v
STATUS_TEXT
f
composeMiddleware
f
createHttpError
f
ifRange
f
isErrorStatus
f
isHttpError
f
isRedirectStatus
f
parseRange
f
proxy
f
send
E
Status
application.ts
c
Application
c
ApplicationErrorEvent
c
ApplicationListenEvent
I
ApplicationOptions
I
HandleMethod
I
ListenOptionsBase
I
ListenOptionsTls
T
ListenOptions
T
State
body.ts
c
RequestBody
I
BodyContentTypes
I
BodyOptions
I
BodyOptionsContentTypes
T
Body
T
BodyBytes
T
BodyForm
T
BodyFormData
T
BodyJson
T
BodyReader
T
BodyStream
T
BodyText
T
BodyType
T
BodyUndefined
buf_reader.ts
c
BufferFullError
c
BufReader
I
ReadLineResult
content_disposition.ts
f
getFilename
context.ts
c
Context
I
ContextOptions
I
ContextSendOptions
deps.ts
N
base64
c
HttpError
c
KeyStack
c
LimitedReader
c
SecureCookieMap
c
ServerSentEvent
c
ServerSentEventStreamTarget
I
Deferred
I
ETagOptions
I
FileInfo
I
Key
I
ParseOptions
I
SecureCookieMapGetOptions
I
SecureCookieMapSetDeleteOptions
I
ServerSentEventInit
I
ServerSentEventTarget
I
ServerSentEventTargetOptions
I
TokensToRegexpOptions
v
basename
v
errors
v
extname
v
isAbsolute
v
join
v
normalize
v
parse
v
sep
v
STATUS_TEXT
f
accepts
f
acceptsEncodings
f
acceptsLanguages
f
calculate
f
compile
f
concat
f
contentType
f
copyBytes
f
createHttpError
f
deferred
f
equals
f
extension
f
ifMatch
f
ifNoneMatch
f
isHttpError
f
mergeHeaders
f
pathMatch
f
pathParse
f
pathToRegexp
f
readAll
f
readerFromStreamReader
f
timingSafeEqual
f
typeByExtension
f
writeAll
E
Status
etag.ts
I
ETagOptions
I
FileInfo
f
calculate
f
factory
f
getEntity
f
ifMatch
f
ifNoneMatch
headers.ts
f
readHeaders
f
toParamRegExp
f
unquote
helpers.ts
T
GetParamsOptions
f
getQuery
http_server_native_request.ts
c
NativeRequest
I
NativeRequestOptions
v
DomResponse
http_server_native.ts
c
HttpServer
T
Respond
http_server_node.ts
isMediaType.ts
f
isMediaType
mediaTyper.ts
f
format
f
parse
middleware.ts
I
Middleware
f
compose
multipart.ts
c
FormDataReader
I
FormDataBody
I
FormDataFile
I
FormDataReadOptions
node_shims.ts
c
ErrorEvent
range.ts
c
MultiPartStream
I
ByteRange
f
ifRange
f
parseRange
request.ts
c
Request
I
OakRequestOptions
response.ts
c
Response
T
ResponseBody
T
ResponseBodyFunction
v
REDIRECT_BACK
f
convertBodyToBodyInit
router.ts
c
Router
I
Route
I
RouterAllowedMethodsOptions
I
RouterContext
I
RouterMiddleware
I
RouterOptions
I
RouterParamMiddleware
T
RouteParams
send.ts
I
SendOptions
f
send
structured_clone.ts
T
StructuredClonable
f
cloneState
test_deps.ts
c
Buffer
c
BufWriter
c
StringReader
c
StringWriter
f
assert
f
assertEquals
f
assertInstanceOf
f
assertRejects
f
assertStrictEquals
f
assertThrows
f
unreachable
f
writeAllSync
testing.ts
I
MockContextOptions
v
mockContextState
f
createMockApp
f
createMockContext
f
createMockNext
types.d.ts
I
HttpConn
I
Listener
I
RequestEvent
I
Server
I
ServerConstructor
I
ServerRequest
I
ServerRequestBody
I
UpgradeWebSocketOptions
T
Data
T
ErrorStatus
T
HTTPMethods
T
Key
T
RedirectStatus
T
UpgradeWebSocketFn
util.ts
c
Uint8ArrayTransformStream
I
ReadableStreamFromReaderOptions
v
BODY_TYPES
v
DEFAULT_CHUNK_SIZE
f
assert
f
decodeComponent
f
encodeBase64Safe
f
encodeUrl
f
getBoundary
f
getRandomFilename
f
importKey
f
isAsyncIterable
f
isConn
f
isErrorStatus
f
isHtml
f
isListenTlsOptions
f
isNode
f
isReader
f
isRedirectStatus
f
isRouterContext
f
readableStreamFromAsyncIterable
f
readableStreamFromReader
f
resolvePath
f
sign
f
skipLWSPChar
f
stripEol
import
*
as
mod
from
"https://dotland.deno.dev/x/oak@v12.2.0/node_shims.ts"
;
Classes
c
ErrorEvent
Why Deno?
Develop Locally
Deploy Globally
Compare to Node.js
Benchmarks
Products
Deno CLI
Deno Deploy
Deploy Subhosting
Fresh
SaaSKit
Sources
CLI Manual
CLI Runtime API
Deploy Docs
Standard Library
Third-Party Modules
Community
Artworks
Translations
Showcase
Company
Careers
Blog
Pricing
News
Merch
Privacy Policy
Copyright © 2023 Deno Land Inc.
All rights reserved.