http

package
v1.41.4 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: OSL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default_Client = Client{
	// contains filtered or unexported fields
}
View Source
var NewRequest = http.NewRequest

Functions

func Read_Request

func Read_Request(in io.Reader) (*http.Request, error)

Types

type Client

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

func (Client) Do

func (c Client) Do(req *http.Request) (*http.Response, error)

func (Client) Get

func (c Client) Get(addr string) (*http.Response, error)

func (Client) Level

func (c Client) Level(level int) Client

func (Client) Redirect added in v1.41.4

func (c Client) Redirect() Client

func (Client) Status

func (c Client) Status(status int) Client

func (Client) Transport added in v1.41.4

func (c Client) Transport(tr *http.Transport) Client
type Header = http.Header

type Request

type Request = http.Request

type Transport

type Transport = http.Transport

Jump to

Keyboard shortcuts

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