http

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpL

func NewHttpL(L *lua.LState) int

func Preload

func Preload(L *lua.LState) lua.LValue

Types

type Http

type Http struct {
	Headers map[string][]string `lua:"headers"`
	Args    map[string]string   `lua:"args"`
	Body    string              `lua:"body"`
	Proxy   string              `lua:"proxy"`
	Timeout time.Duration       `lua:"timeout"`
	// contains filtered or unexported fields
}

func (*Http) AssertFunction

func (h *Http) AssertFunction() lua.LGFunction

func (*Http) Index

func (h *Http) Index(L *lua.LState, key string) lua.LValue

func (*Http) MetatableName

func (h *Http) MetatableName() string

func (*Http) String

func (h *Http) String() string

type Response

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

func (*Response) AssertFunction

func (r *Response) AssertFunction() lua.LGFunction

func (*Response) Index

func (r *Response) Index(L *lua.LState, key string) lua.LValue

func (*Response) MetatableName

func (r *Response) MetatableName() string

func (*Response) String

func (r *Response) String() string

Jump to

Keyboard shortcuts

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