Versions in this module Expand all Collapse all v0 v0.3.0 Jun 11, 2023 v0.2.0 May 12, 2023 Changes in this version + func NewResponse(vm *goja.Runtime, res *http.Response) goja.Value + type FileData struct + Data []byte + Filename string + type FormData struct + func (f *FormData) Append(name string, value any, filename string) (ret goja.Value) + func (f *FormData) Delete(name string) + func (f *FormData) Entries() any + func (f *FormData) Get(name string) any + func (f *FormData) GetAll(name string) any + func (f *FormData) Has(name string) bool + func (f *FormData) Keys() any + func (f *FormData) Set(name string, value any, filename string) + func (f *FormData) Values() any + type Http struct + func (h *Http) Get(call goja.FunctionCall, vm *goja.Runtime) (ret goja.Value) + func (h *Http) Head(call goja.FunctionCall, vm *goja.Runtime) (ret goja.Value) + func (h *Http) Post(call goja.FunctionCall, vm *goja.Runtime) (ret goja.Value) + func (h *Http) Request(call goja.FunctionCall, vm *goja.Runtime) (ret goja.Value) + func (h *Http) Template(call goja.FunctionCall, vm *goja.Runtime) (ret goja.Value) + type Module struct + func (*Module) Exports() any + type NativeFormData struct + func (*NativeFormData) Exports() any + func (*NativeFormData) Global() + type NativeURLSearchParams struct + func (*NativeURLSearchParams) Exports() any + func (*NativeURLSearchParams) Global() + type Response struct + Headers http.Header + Ok bool + Status int + StatusText string + func (r *Response) Bytes(_ goja.FunctionCall, vm *goja.Runtime) goja.Value + func (r *Response) Json() any + func (r *Response) JsonEncodable() any + func (r *Response) String() string + type URLSearchParams struct + func (u *URLSearchParams) Append(name, value string) + func (u *URLSearchParams) Delete(name string) + func (u *URLSearchParams) Entries() any + func (u *URLSearchParams) ForEach(call goja.FunctionCall, vm *goja.Runtime) (ret goja.Value) + func (u *URLSearchParams) Get(name string) any + func (u *URLSearchParams) GetAll(name string) []string + func (u *URLSearchParams) Has(name string) bool + func (u *URLSearchParams) Keys() []string + func (u *URLSearchParams) Set(name, value string) + func (u *URLSearchParams) Sort() + func (u *URLSearchParams) ToString() string + func (u *URLSearchParams) Values() [][]string v0.1.0-beta Apr 16, 2023