http1

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBodyReader

func NewBodyReader(client tcp.Client, bodySettings settings.Body) http.BodyReader

func NewHTTPRequestsParser

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

Types

type ChunkedBodyParser added in v0.5.0

type ChunkedBodyParser interface {
	Parse(data []byte, trailer bool) (chunk, extra []byte, err error)
}

func NewChunkedBodyParser added in v0.5.0

func NewChunkedBodyParser(settings settings.Body) ChunkedBodyParser

Jump to

Keyboard shortcuts

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