Expand description
Shared native HTTP handler ABI types for Dart Edge native crates.
Structs§
- Native
Bytes - Borrowed byte view passed across the Dart FFI boundary.
- Native
Http Error - Shared serializable error shape for native HTTP helper APIs.
- Native
Http Request - Native HTTP request passed to a native route handler.
- Native
Http Response - Native HTTP response returned by a native route handler.
- Native
Http Route - Native HTTP route descriptor serialized into Dart route manifests.
- Native
Http Route Manifest - Manifest wrapper for native HTTP route descriptors.
- Native
Pair - Borrowed UTF-8 key/value pair represented as byte views.
Enums§
- Native
Http Method - Native HTTP method code shared across Dart Edge native crates.
Constants§
- NATIVE_
HTTP_ METHOD_ DELETE - Native ABI method code for
DELETE. - NATIVE_
HTTP_ METHOD_ GET - Native ABI method code for
GET. - NATIVE_
HTTP_ METHOD_ HEAD - Native ABI method code for
HEAD. - NATIVE_
HTTP_ METHOD_ OPTIONS - Native ABI method code for
OPTIONS. - NATIVE_
HTTP_ METHOD_ PATCH - Native ABI method code for
PATCH. - NATIVE_
HTTP_ METHOD_ POST - Native ABI method code for
POST. - NATIVE_
HTTP_ METHOD_ PUT - Native ABI method code for
PUT.
Functions§
- native_
http_ routes_ from_ json - Decodes a native HTTP route list from JSON.
- native_
http_ routes_ to_ json - Encodes a native HTTP route list as JSON.
Type Aliases§
- Native
Http Free Response - Function pointer used to release a response returned by
NativeHttpHandler. - Native
Http Handler - Native HTTP route handler function pointer.
- Native
Http Result - Shared result alias for native HTTP helper APIs.