package
0.0.0-20240920093258-0eb8b47e7929
Repository: https://github.com/ecwid/control.git
Documentation: pkg.go.dev
# Functions
Clears accepted encodings set by setAcceptedEncodings
*/.
Clears browser cache.
Clears browser cookies.
Deletes browser cookies with matching name and url or domain/path pair.
Disables network tracking, prevents network events from being sent to the client.
Activates emulation of network conditions.
Enables network tracking, network events will now be delivered to the client.
Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client.
Returns the DER-encoded certificate.
Returns all browser cookies for the current URL.
Returns post data sent with the request.
Returns content served for the given request.
Returns content served for the given currently intercepted request.
Returns information about the COEP/COOP isolation status.
Fetches the resource and returns the content.
This method sends a new XMLHttpRequest which is identical to the original one.
Searches for given string in response content.
Sets a list of content encodings that will be accepted.
Specifies whether to attach a page script stack id in requests
*/.
Blocks URLs from loading.
Toggles ignoring of service worker for each request.
Toggles ignoring cache for each request.
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
Sets given cookies.
Specifies whether to always send extra HTTP headers with the requests from this page.
Allows overriding user agent with the given string.
Returns a handle to the stream representing the response body.
# Structs
Authorization challenge for HTTP status code 401 or 407.
Response to an AuthChallenge.
A cookie with was not sent with a request with the corresponding reason.
A cookie which was not stored from a response with the corresponding reason.
Information about the cached resource.
*/.
*/.
Cookie object
*/.
Cookie parameter object
*/.
*/.
*/.
*/.
Fired when data chunk was received over the network.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fired when EventSource message is received.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Information about the request initiator.
Fired when HTTP request has failed to load.
Fired when HTTP request has finished loading.
No description provided by the author
An options object that may be extended later to better support CORS,
CORB and streaming.
An object providing the result of a network resource load.
No description provided by the author
Post data entry for HTTP request
*/.
No description provided by the author
*/.
*/.
An object representing a report generated by the Reporting API.
Is sent whenever a new report is added.
*/.
HTTP request data.
Request pattern for interception.
Fired if request ended up loading from cache.
Fired when page is about to send HTTP request.
Fired when additional information about a requestWillBeSent event is available from the
network stack.
Fired when resource loading priority is changed
*/.
Timing information for the request.
HTTP response data.
Fired when HTTP response is available.
Fired when additional information about a responseReceived event is available from the network
stack.
No description provided by the author
No description provided by the author
Security details about a request.
*/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Details of a signed certificate timestamp (SCT).
Information about a signed exchange response.
Information about a signed exchange header.
Information about a signed exchange response.
Fired when a signed exchange was received over the network
*/.
Information about a signed exchange signature.
Fired when request for resources within a .wbn file failed.
Fired when handling requests for resources within a .wbn file.
Fired once when parsing the .wbn file has failed.
Fired once when parsing the .wbn file has succeeded.
No description provided by the author
No description provided by the author
Fired exactly once for each Trust Token operation.
Determines what type of Trust Token operation is executed and
depending on the type, some additional parameters.
Fired when WebSocket is closed.
Fired upon WebSocket creation.
WebSocket message data.
Fired when WebSocket message error occurs.
Fired when WebSocket message is received.
Fired when WebSocket message is sent.
Fired when WebSocket handshake response becomes available.
WebSocket request data.
WebSocket response data.
Fired when WebSocket is about to initiate handshake.
Fired when WebTransport is disposed.
Fired when WebTransport handshake is finished.
Fired upon WebTransport creation.
# Interfaces
Request / response headers as keys / values of JSON object.
# Type aliases
The reason why Chrome uses a specific transport protocol for HTTP semantics.
The reason why request was blocked.
Whether the request complied with Certificate Transparency policy.
The underlying connection technology that the browser is supposedly using.
List of content encodings supported by the backend.
Types of reasons why a cookie may not be sent with a request.
Represents the cookie's 'Priority' status:
https://tools.ietf.org/html/draft-west-cookie-priority-00
*/.
Represents the cookie's 'SameSite' status:
https://tools.ietf.org/html/draft-west-first-party-cookies
*/.
Represents the source scheme of the origin that originally set the cookie.
The reason why request was blocked.
*/.
*/.
Network level fetch failure reason.
Unique intercepted request identifier.
Stages of the interception to begin intercepting.
*/.
Unique loader identifier.
Monotonically increasing time in seconds since an arbitrary point in the past.
*/.
*/.
The status of a Reporting API report.
Unique request identifier.
Loading priority of a resource request.
Resource type as it was perceived by the rendering engine.
Source of serviceworker response.
Types of reasons why a cookie may not be stored from a response.
Field type for a signed exchange related error.
UTC time in seconds, counted from January 1, 1970.
*/.