v / vlib / pico_http_parser / pico_http_parser.v
15 lines · 10 sloc · 364 bytes · 35c3a1b7150305730491ee1307a86bb536aabac3
Raw
1module pico_http_parser
2
3import picohttpparser
4
5pub type Header = picohttpparser.Header
6
7pub type Request = picohttpparser.Request
8
9pub type Response = picohttpparser.Response
10
11// u64toa forwards to `picohttpparser.u64toa` for backwards-compatible imports.
12@[unsafe]
13pub fn u64toa(buf_start &u8, value u64) !int {
14 return picohttpparser.u64toa(buf_start, value)
15}
16