winhttp

package
v0.0.0-...-ea9ab63 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 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

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

func (*Connection) Close

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

func (*Connection) Get

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

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

func NewSession

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

func (*Session) Close

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

func (*Session) Connect

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