pub usingnamespace @import("std").zig.c_builtins; pub const struct_phr_header = extern struct { name: [*c]const u8, name_len: usize, value: [*c]const u8, value_len: usize, }; pub extern fn phr_parse_request(buf: [*c]const u8, len: usize, method: [*c][*c]const u8, method_len: [*c]usize, path: [*c][*c]const u8, path_len: [*c]usize, minor_version: [*c]c_int, headers: [*c]struct_phr_header, num_headers: [*c]usize, last_len: usize) c_int; pub extern fn phr_parse_response(_buf: [*c]const u8, len: usize, minor_version: [*c]c_int, status: [*c]c_int, msg: [*c][*c]const u8, msg_len: [*c]usize, headers: [*c]struct_phr_header, num_headers: [*c]usize, last_len: usize) c_int; pub extern fn phr_parse_headers(buf: [*c]const u8, len: usize, headers: [*c]struct_phr_header, num_headers: [*c]usize, last_len: usize) c_int; pub const struct_phr_chunked_decoder = extern struct { bytes_left_in_chunk: usize = 0, consume_trailer: u8 = 0, _hex_count: u8 = 0, _state: u8 = 0, }; pub extern fn phr_decode_chunked(decoder: *struct_phr_chunked_decoder, buf: [*]u8, bufsz: *usize) isize; pub extern fn phr_decode_chunked_is_in_data(decoder: *struct_phr_chunked_decoder) c_int; pub const phr_header = struct_phr_header; pub const phr_chunked_decoder = struct_phr_chunked_decoder; axRequestBodySize'>ciro/fix-maxRequestBodySize Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets/async-overhead.mjs (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-08-17Update nodejs compat docs with ttyGravatar Colin McDonnell 1-1/+1
2023-08-17Improve test documentationGravatar Colin McDonnell 2-24/+63
2023-08-17Update Astro guideGravatar Colin McDonnell 1-1/+5
2023-08-17Allow IncomingRequest.req to be overwritten. (#4154)Gravatar dave caruso 3-8/+21
2023-08-17Fix(node:fs): add buffer parameter in fs.read callback. (#4191)Gravatar Ai Hoshino 3-5/+151
2023-08-17refactor: move HTMLRewriter to c++ bindings (#4193)Gravatar Brúnó Salomon 16-1127/+4961
2023-08-17Fix description for executables pageGravatar Colin McDonnell 1-1/+1