httpsettings

package
v0.0.0-...-7433a87 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPSettings

type HTTPSettings struct {
	Cookie    map[string]string `optional:"" short:"b" help:"sets the cookie of all outgoing http requests"`
	Header    map[string]string `optional:"" short:"H" help:"sets the headers of all outgoing http requests"`
	UserAgent string            `` /* 199-byte string literal not displayed */
	Insecure  bool              `` /* 225-byte string literal not displayed */
}

func FromLua

func FromLua(t lua.LValue) HTTPSettings

func (*HTTPSettings) Client

func (s *HTTPSettings) Client() *http.Client

Jump to

Keyboard shortcuts

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