requests

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}
var DefaultSession *Session

func NewSession added in v0.2.0

func NewSession() (*Session, error)

func (*Session) Cookie

func (r *Session) Cookie(k string) string

func (*Session) Get

func (r *Session) Get(uri, path string, query map[string]string) (*http.Response, error)

func (*Session) Post

func (r *Session) Post(uri, path string, query, header map[string]string, body io.Reader) (*http.Response, error)

Jump to

Keyboard shortcuts

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