Preparing search index...
The search index is not available
@tarpit/http
@tarpit/http
RequestHeaders
Class RequestHeaders
Hierarchy
HttpDict
<
IncomingHttpHeaders
>
RequestHeaders
Index
Constructors
constructor
Properties
data
Methods
ensure
get_
first
on_
error
Constructors
constructor
new
Request
Headers
(
data
)
:
RequestHeaders
Parameters
data
:
IncomingHttpHeaders
Returns
RequestHeaders
Properties
Readonly
data
data
:
IncomingHttpHeaders
Methods
ensure
ensure
(
prop
,
matcher
)
:
string
Parameters
prop
:
keyof
IncomingHttpHeaders
matcher
:
RegExp
|
Matcher
<
string
>
Returns
string
get_
first
get_
first
(
key
)
:
undefined
|
string
Parameters
key
:
keyof
IncomingHttpHeaders
Returns
undefined
|
string
Protected
on_
error
on_
error
(
prop
,
desc
)
:
never
Parameters
prop
:
keyof
IncomingHttpHeaders
desc
:
MismatchDescription
Returns
never
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
src
errors
finish.ts
Finish
finish
tp-http-finish.ts
TpHttpFinish
TpHttpErrorDescription
TpHttpErrorHeader
throw_bad_request
throw_forbidden
throw_http_finish
throw_internal_server_error
throw_not_found
throw_not_modified
throw_precondition_failed
throw_unauthorized
builtin
body
form-body.ts
FormBody
json-body.ts
JsonBody
mime-body.ts
MimeBody
raw-body.ts
RawBody
text-body.ts
TextBody
dict
params.ts
Params
path-args.ts
PathArgs
header.ts
RequestHeaders
guard.ts
Guard
http-context.ts
HttpContext
response-cache.ts
ResponseCache
tp-request.ts
TpRequest
tp-response.ts
TpResponse
tp-websocket.ts
TpWebSocket
services
http-authenticator.ts
HttpAuthenticator
http-body-formatter.ts
HttpBodyFormatter
http-cache-proxy.ts
HttpCacheProxy
http-hooks.ts
HttpHooks
http-inspector.ts
HttpInspector
http-static.ts
HttpStatic
http-server.module.ts
HttpServerModule
__types__.ts
HttpCredentials
HttpHandlerDescriptor
HttpSession
TpRouterOptions
TpWebSocketOptions
ApiMethod
HttpResponseType
ProxyConfig
RequestHandler
RequestHandlerWithPathArgs
SocketHandler
TpHttpResponseType
UpgradeHandler
UpgradeHandlerWithPathArgs
annotations.ts
Auth
CacheUnder
ContentType
Delete
Get
Post
Put
Route
RouteProps
TpRouter
WS
Auth
CacheUnder
ContentType
Delete
Get
Post
Put
Route
TpRouter
WS
Generated using
TypeDoc