MCPcopy
hub / github.com/google/gopacket / httpStreamFactory

Struct httpStreamFactory

examples/httpassembly/main.go:37–37  ·  view source on GitHub ↗

Build a simple HTTP request parser using tcpassembly.StreamFactory and tcpassembly.Stream interfaces httpStreamFactory implements tcpassembly.StreamFactory

Source from the content-addressed store, hash-verified

35
36// httpStreamFactory implements tcpassembly.StreamFactory
37type httpStreamFactory struct{}
38
39// httpStream will handle the actual decoding of http requests.
40type httpStream struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected