Http
http β API Reference
Section titled βhttp β API ReferenceβImport:
std/http.axs
Public Functions (13)
Section titled βPublic Functions (13)β| Function | Signature | Return Type |
|---|---|---|
status_200 | () | string |
status_404 | () | string |
status_400 | () | string |
status_500 | () | string |
header_html | () | string |
header_text | () | string |
header_json | () | string |
header_close | () | string |
header_content_length | (len: i64) | string |
crlf | () | string |
build_response | (status: string, content_type: string, body: string) | string |
parse_method | (raw: string) | string |
parse_path | (raw: string) | string |
Signatures
Section titled βSignaturesβstatus_200() β stringstatus_404() β stringstatus_400() β stringstatus_500() β stringheader_html() β stringheader_text() β stringheader_json() β stringheader_close() β stringheader_content_length(len: i64) β stringcrlf() β stringbuild_response(status: string, content_type: string, body: string) β stringparse_method(raw: string) β stringparse_path(raw: string) β stringFFI Extern Declarations (6)
Section titled βFFI Extern Declarations (6)βThese are private C/system function bindings used internally by the module.
| Symbol | Parameters | Return Type |
|---|---|---|
str_len | string | i64 |
str_slice | string, i64, i64 | string |
str_find | string, string | i64 |
str_char_at | string, i64 | i64 |
str_concat | string, string | string |
str_from_i64 | i64 | string |
Auto-generated from std/http.axs by scripts/gen_docs.sh