Versions in this module Expand all Collapse all v1 v1.2.0 Feb 26, 2021 Changes in this version + const CR + const CRLF + const LF + type Chunk struct + Body bytes.Buffer + BoundaryAndParameters bytes.Buffer + Len int64 + LenByte bytes.Buffer + ReceivedLen int64 + func NewChunk() *Chunk + type HttpV2Client struct + Host string + Path string + Port int + Protocol string + TcpConn net.Conn + Timeout time.Duration + func NewHttpV2Client(Host string, Port int, opts ...Option) *HttpV2Client + func (c *HttpV2Client) CheckConnection() error + func (c *HttpV2Client) Close() error + func (c *HttpV2Client) Connect() error + func (c *HttpV2Client) GetReceivedChunkChannel() chan Chunk + func (c *HttpV2Client) GetReceivedHttpHeaderChannel() chan string + func (c *HttpV2Client) Receive() + func (c *HttpV2Client) SendHeaders(headers []string) error + func (c *HttpV2Client) SendMultiPart(parameters []string, body []byte) error + func (c *HttpV2Client) SendMultiPartEnd() error + type Option interface + func WithBoundary(s string) Option + func WithPath(s string) Option + func WithProtocol(s string) Option