Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body interface { io.Reader Body() streams.ReadableStream }
Body represents the Body IDL mixin defined in the fetch API.
type Fetch ¶
type Fetch struct {
BrowsingContext html.BrowsingContext
}
func New ¶
func New(bc html.BrowsingContext) Fetch
func (Fetch) NewRequest ¶
func (f Fetch) NewRequest(url string, opts ...RequestOption) Request
type ReadableStream ¶
func (ReadableStream) GetReader ¶
func (s ReadableStream) GetReader(opts ...streams.GetReaderOption) streams.Reader
type RequestOption ¶
type RequestOption func(*Request)
func WithSignal ¶
func WithSignal(s *dom.AbortSignal) RequestOption
Click to show internal directories.
Click to hide internal directories.