winhttp

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection added in v0.3.3

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

func (*Connection) Close added in v0.3.3

func (connection *Connection) Close() (err error)

func (*Connection) Get added in v0.3.3

func (connection *Connection) Get(path string, refresh bool) (response *Response, err error)

type Response

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

func (*Response) Close

func (response *Response) Close() (err error)

func (*Response) Length

func (response *Response) Length() (length uint64, err error)

func (*Response) Read

func (response *Response) Read(p []byte) (n int, err error)

type Session added in v0.3.3

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

func NewSession added in v0.3.3

func NewSession(userAgent string) (session *Session, err error)

func (*Session) Close added in v0.3.3

func (session *Session) Close() (err error)

func (*Session) Connect added in v0.3.3

func (session *Session) Connect(server string, port uint16, https bool) (connection *Connection, err error)

Jump to

Keyboard shortcuts

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