Module: api/src
Namespaces
Enumerations
Classes
- ApiRequest
- ApiResponse
- Auth
- CookieStore
- MediaParser
- MediaParserStore
- Middleware
- MiddlewareStore
- Route
- RouteData
- RouteStore
- Server
Interfaces
- AuthData
- LoginData
- LoginDataTransformer
- MethodCallback
- MiddlewareErrorContext
- MiddlewareOptions
- ParsedPart
- RouteMatch
- RouteOptions
- SecureCookieStoreSetOptions
- ServerOptions
- ServerOptionsAuth
Type Aliases
AuthLessServerOptions
Ƭ AuthLessServerOptions: Omit
<ServerOptions
, "auth"
>
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:235
ContentTypeParameter
Ƭ ContentTypeParameter: `; ${string}=${string}`
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:153
ContentTypeType
Ƭ ContentTypeType: "text"
| "multipart"
| "message"
| "image"
| "audio"
| "video"
| "application"
| `X-${string}`
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:137
MatchData
Ƭ MatchData: Record
<string
, string
> | null
Defined in
projects/plugins/packages/api/src/lib/utils/RouteData.ts:18
Methods
Ƭ Methods: "ACL"
| "BIND"
| "CHECKOUT"
| "CONNECT"
| "COPY"
| "DELETE"
| "GET"
| "HEAD"
| "LINK"
| "LOCK"
| "M-SEARCH"
| "MERGE"
| "MKACTIVITY"
| "MKCALENDAR"
| "MKCOL"
| "MOVE"
| "NOTIFY"
| "OPTIONS"
| "PATCH"
| "POST"
| "PRI"
| "PROPFIND"
| "PROPPATCH"
| "PURGE"
| "PUT"
| "REBIND"
| "REPORT"
| "SEARCH"
| "SOURCE"
| "SUBSCRIBE"
| "TRACE"
| "UNBIND"
| "UNLINK"
| "UNLOCK"
| "UNSUBSCRIBE"
Defined in
projects/plugins/packages/api/src/lib/structures/http/HttpMethods.ts:3
MimeType
Ƭ MimeType: `${MimeTypeWithoutParameters}${"" | ContentTypeParameter}`
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:166
MimeTypeWithoutParameters
Ƭ MimeTypeWithoutParameters: `${ContentTypeType}/${string}`
Defined in
projects/plugins/packages/api/src/lib/structures/http/Server.ts:159
Variables
methodEntries
• Const
methodEntries: readonly [Methods
, symbol
][]
Defined in
projects/plugins/packages/api/src/lib/structures/http/HttpMethods.ts:41
methods
• Const
methods: Record
<Methods
, symbol
>
Defined in
projects/plugins/packages/api/src/lib/structures/http/HttpMethods.ts:40