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