MCPcopy Create free account
hub / github.com/OctaneWeb/Octane / Http1xReader

Class Http1xReader

octane_http/src/http1x/mod.rs:22–22  ·  view source on GitHub ↗

Reads and parses the head of an HTTP/1.x request straight off an [`AsyncRead`] source, with zero copies of the parsed fields. Bytes are streamed into the caller-owned `data` buffer until the `CRLFCRLF` head terminator is seen (or the peer hangs up). The returned [`RawRequest1x`] then borrows directly from `data` — the method, url, version, header block and already-buffered body are all sub-slices

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected