http1

package
v0.13.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPRequestsParser

func NewHTTPRequestsParser(
	request *http.Request, keyArena, valArena, startLineArena buffer.Buffer[byte],
	valuesPool pool.ObjectPool[[]string], headersSettings settings.Headers,
) parser.HTTPRequestsParser

Types

type Body added in v0.10.5

type Body struct {
	// contains filtered or unexported fields
}

func NewBody added in v0.10.5

func NewBody(
	client tcp.Client, chunkedParser *chunkedbody.Parser, manager coding.Manager,
) *Body

func (*Body) Bytes added in v0.10.5

func (b *Body) Bytes() ([]byte, error)

func (*Body) Callback added in v0.10.5

func (b *Body) Callback(cb http.OnBodyCallback) error

func (*Body) Init added in v0.10.5

func (b *Body) Init(request *http.Request)

func (*Body) Read added in v0.10.5

func (b *Body) Read(into []byte) (n int, err error)

func (*Body) Reset added in v0.10.5

func (b *Body) Reset() error

func (*Body) Retrieve added in v0.10.5

func (b *Body) Retrieve() ([]byte, error)

func (*Body) String added in v0.10.5

func (b *Body) String() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL