https

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string) *p2

func Post

func Post(uri string) *p2

func SerializationSession added in v1.0.3

func SerializationSession(path string) *p1

func Session

func Session() *p1

Types

type ISession added in v1.0.6

type ISession interface {
	AddHeader(key string, value string) *p1
	AddHeaders(entries map[string]string) *p1
	RemoveHeader(key string) *p1
	ClearHeader() *p1
	AddCookie(key string, value string) *p1
	AddCookies(entries map[string]string) *p1
	AddCookieString(cookie string) *p1
	RemoveCookie(key string) *p1
	ClearCookie() *p1
	SetTimeOut(time int) *p1
	SetConnTimeOut(time int) *p1
	SetRespTimeOut(time int) *p1
	Proxy(proxy string) *p1
	BasicAuth(user string, password string) *p1
	Retry(count uint) *p1
	SkipSSLVerify(verify bool) *p1
	Get(uri string) *p2
	Post(uri string) *p2
	GetCookies() param
	GetCookie(key string) string
	SetCookieSerializationPath(path string) *p1
}

Jump to

Keyboard shortcuts

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