Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap[T any](reg js.ClassBuilder[T])
func Configure ¶
func Configure[T any](host js.ScriptEngine[T])
func EncodeJSONBytes ¶
Types ¶
type Request ¶
type Request[T any] struct { // contains filtered or unexported fields }
func NewRequest ¶
func NewRequest[T any](scriptHost js.ScriptEngine[T]) *Request[T]
func (Request[T]) Constructor ¶
func (Request[T]) CreateInstance ¶
func (w Request[T]) CreateInstance( cbCtx js.CallbackContext[T], url string, options ...fetch.RequestOption, ) (js.Value[T], error)
func (Request[T]) Initialize ¶
type Response ¶
type Response[T any] struct { // contains filtered or unexported fields }
func NewResponse ¶
func NewResponse[T any](scriptHost js.ScriptEngine[T]) *Response[T]
func (Response[T]) Constructor ¶
func (Response[T]) Initialize ¶
Click to show internal directories.
Click to hide internal directories.