Beignet API reference
Preparing search index...
@beignet/core
server
Module server
Interfaces
CorsConfig
ErrorMappingConfig
ErrorMappingResult
HandlerArgs
HealthCheckResult
HealthConfig
HttpRequestLike
HttpResponseLike
Logger
LoggingConfig
OpenAPIConfig
RateLimitOptions
ServerHook
ServerInstance
Type Aliases
AfterSendHook
AppEnvironment
AuthHookArgs
AuthHookAssignArgs
AuthHookMode
AuthHookModeInput
AuthHooksOptions
AuthHookUnauthorizedArgs
BeforeHandleHook
BeforeHandleResult
BeforeSendHook
CreateServerOptions
CtxWithAuthPort
CtxWithRateLimit
Handler
HttpResponse
InferBody
InferHeaders
InferPath
InferQuery
MaybePromise
OnRequestHook
ResolvedRoute
RouteDef
RouteGroup
ServerCaughtErrorHook
ServerUnhandledErrorMapper
Functions
applyCorsHeaders
composeHooks
contractsFromRoutes
createAuthHooks
createCorsHooks
createHealthHandler
createLoggingHooks
createOpenAPIHandler
createRateLimitHooks
createServer
defaultMapErrorToResponse
defineRouteGroup
defineRoutes
loadProviderConfig
parseStandardSchema
References
AnyPorts
→
AnyPorts
AppError
→
AppError
ConfigValidationError
→
ConfigValidationError
ContractLike
→
ContractLike
HttpContractConfig
→
HttpContractConfig
InferOutput
→
InferOutput
readEnv
→
readEnv
resolveContract
→
resolveContract
ResolveContract
→
ResolveContract
SchemaValidationError
→
SchemaValidationError
ServiceProvider
→
ServiceProvider
StandardSchema
→
StandardSchema
StandardSchemaV1
→
StandardSchemaV1
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Interfaces
Cors
Config
Error
Mapping
Config
Error
Mapping
Result
Handler
Args
Health
Check
Result
Health
Config
Http
Request
Like
Http
Response
Like
Logger
Logging
Config
Open
API
Config
Rate
Limit
Options
Server
Hook
Server
Instance
Type Aliases
After
Send
Hook
App
Environment
Auth
Hook
Args
Auth
Hook
Assign
Args
Auth
Hook
Mode
Auth
Hook
Mode
Input
Auth
Hooks
Options
Auth
Hook
Unauthorized
Args
Before
Handle
Hook
Before
Handle
Result
Before
Send
Hook
Create
Server
Options
Ctx
With
Auth
Port
Ctx
With
Rate
Limit
Handler
Http
Response
Infer
Body
Infer
Headers
Infer
Path
Infer
Query
Maybe
Promise
On
Request
Hook
Resolved
Route
Route
Def
Route
Group
Server
Caught
Error
Hook
Server
Unhandled
Error
Mapper
Functions
apply
Cors
Headers
compose
Hooks
contracts
From
Routes
create
Auth
Hooks
create
Cors
Hooks
create
Health
Handler
create
Logging
Hooks
create
Open
API
Handler
create
Rate
Limit
Hooks
create
Server
default
Map
Error
To
Response
define
Route
Group
define
Routes
load
Provider
Config
parse
Standard
Schema
References
Any
Ports
App
Error
Config
Validation
Error
Contract
Like
Http
Contract
Config
Infer
Output
read
Env
resolve
Contract
Resolve
Contract
Schema
Validation
Error
Service
Provider
Standard
Schema
Standard
Schema
V1
Beignet API reference
Loading...