fuchsia.web

PROTOCOLS

ContextProvider

Defined in fuchsia.web/context.fidl

The top-level service interface which allows for the creation of Context resources.

Create

Creates a new browser fuchsia.web.Context whose state is wholly independent and isolated from other Contexts.

Request

NameType
params CreateContextParams
context request<Context>

Context

Defined in fuchsia.web/context.fidl

Manages browsing state (e.g. LocalStorage, cookies, etc) associated with a set of fuchsia.web.Frame.

CreateFrame

Creates a new fuchsia.web.Frame under this fuchsia.web.Context. Destruction of a fuchsia.web.Context triggers the destruction of all of its associated fuchsia.web.Frame. fuchsia.web.Frame can be transferred to another component but cannot be shared across multiple components.

Request

NameType
frame request<Frame>

CreateFrameWithParams

Similar to fuchsia.web.Context/CreateFrame, with extra parameters.

Request

NameType
params CreateFrameParams
frame request<Frame>

GetCookieManager

Used to observe cookies for sites hosted under this Context.

Request

NameType
manager request<CookieManager>

GetRemoteDebuggingPort

Waits until debugging is available on one or more Frames, and returns the DevTools port number. Multiple calls may be queued to received the port number.

If an error occured, the fuchsia.web.ContextError will be set to this value:

  • REMOTE_DEBUGGING_PORT_NOT_OPENED: |remote_debugging_port| was not set in fuchsia.web.CreateContextParams or the remote debugging service failed to start.

Request

NameType

Response

NameType
result Context_GetRemoteDebuggingPort_Result

CookieManager

Defined in fuchsia.web/cookie.fidl

Provides methods for monitoring and accessing browser cookie state.

ObserveCookieChanges

Observe changes to all cookies named name that would be sent in a request to url.

If neither url nor name are set then all cookies are observed. If only url is set then all cookies for that URL are observed. If both are set then only cookies matching both fields are observed.

|changes| iterates over a stream of cookie changes. Additions or updates are expressed as complete cookies, while deletions are expressed as cookies with no value set.

Request

NameType
url Url
name CookieName
changes request<CookiesIterator>

GetCookieList

Returns a list of Cookies, optionally limited to those matching url, and optionally name. cookies iterates over the matching cookies, including their values.

Request

NameType
url Url
name CookieName
cookies request<CookiesIterator>

CookiesIterator

Defined in fuchsia.web/cookie.fidl

Used to iterator over a set of cookies, or a stream of changes to cookies.

GetNext

Fetches the next batch of cookies, or of changes to cookies.

Request

NameType

Response

NameType
changed_cookies vector<Cookie>

Debug

Defined in fuchsia.web/debug.fidl

The debug service which allows to enable the DevTools service on Contexts.

EnableDevTools

Enables the DevTools service on every subsequent Context creation and and delivers subsequent DevTools events to the supplied listener. The callback indicates when the WebEngine is in a debuggable state. Events will be sent to every listener registered with this method.

Request

NameType
listener DevToolsListener

Response

NameType

DevToolsListener

Defined in fuchsia.web/debug.fidl

Interface used to observe DevTools service availability events.

OnContextDevToolsAvailable

Called when the DevTools service is available on a new Context.

listener: Channel over which DevTools events for the new Context will be delivered. This channel will disconnect when the Context is detroyed.

Request

NameType
listener request<DevToolsPerContextListener>

DevToolsPerContextListener

Defined in fuchsia.web/debug.fidl

Interface supplied by the debugging component to observe the DevTools service opening event.

OnHttpPortOpen

Called when the DevTools service starts accepting TCP connections on port. port will remain open until the Context is destroyed.

port: The port used by the service.

Request

NameType
port uint16

Frame

Defined in fuchsia.web/frame.fidl

CreateView

Creates a new view using the specified view_token. Caller should pass the other end of the token to fuchsia.ui.gfx.ViewHolderArgs/token to attach the new view to a view tree.

  • view_token: Token for the new view.

Request

NameType
view_token fuchsia.ui.views/ViewToken

EnableHeadlessRendering

Enables headless rendering of the Frame. This is used when content depends on layout and/or animation events firing normally. May only be used on a Context created with the HEADLESS feature flag.

Request

NameType

DisableHeadlessRendering

Stops headless rendering of the Frame. May only be used on a Context created with the HEADLESS feature flag.

Request

NameType

GetMediaPlayer

Returns a fuchsia.media.sessions2.Player interface through which media (i.e. video/audio) playback in the frame may be observed, and/or controlled. Only one fuchsia.media.sessions2.Player may be active at a time, for each fuchsia.web.Frame.

Request

NameType
player request<fuchsia.media.sessions2/Player>

GetNavigationController

Returns an interface through which the fuchsia.web.Frame may be navigated to a desired URL, reloaded, etc.

Request

NameType
controller request<NavigationController>

ExecuteJavaScript

Executes a UTF-8 encoded script in the fuchsia.web.Frame if the fuchsia.web.Frame's URL has an origin which matches entries in origins.

At least one origins entry must be specified. If a wildcard "*" is specified in origins, then the script will be evaluated unconditionally.

Returns the result of executing script, as a JSON-encoded string.

Note that scripts share the same execution context as the document, meaning that document may modify variables, classes, or objects set by the script in arbitrary or unpredictable ways.

If an error occured, the FrameError will be set to one of these values:

  • BUFFER_NOT_UTF8: script is not UTF-8 encoded.
  • INVALID_ORIGIN: The fuchsia.web.Frame's current URL does not match any of the values in origins or origins is an empty vector.

Request

NameType
origins vector<string>
script fuchsia.mem/Buffer

Response

NameType
result Frame_ExecuteJavaScript_Result

ExecuteJavaScriptNoResult

Variant of fuchsia.web.Frame/ExecuteJavaScript which executes the supplied script without returning a result.

Request

NameType
origins vector<string>
script fuchsia.mem/Buffer

Response

NameType
result Frame_ExecuteJavaScriptNoResult_Result

AddBeforeLoadJavaScript

Executes a UTF-8 encoded script for every subsequent page load where the fuchsia.web.Frame's URL has an origin reflected in origins. The script is executed early, prior to the execution of the document's scripts.

Scripts are identified by a client-managed identifier id. Any script previously injected using the same id will be replaced.

The order in which multiple bindings are executed is the same as the order in which the bindings were added. If a script is added which clobbers an existing script of the same id, the previous script's precedence in the injection order will be preserved.

At least one origins entry must be specified. If a wildcard "*" is specified in origins, then the script will be evaluated unconditionally.

If an error occured, the fuchsia.web.FrameError will be set to one of these values:

  • BUFFER_NOT_UTF8: script is not UTF-8 encoded.
  • INVALID_ORIGIN: origins is an empty vector.

Request

NameType
id uint64
origins vector<string>
script fuchsia.mem/Buffer

Response

NameType
result Frame_AddBeforeLoadJavaScript_Result

RemoveBeforeLoadJavaScript

Removes a previously added JavaScript snippet identified by id. This is a no-op if there is no JavaScript snippet identified by id.

Request

NameType
id uint64

PostMessage

Posts a message to the frame's onMessage handler.

target_origin restricts message delivery to the specified origin. If target_origin is "*", then the message will be sent to the document regardless of its origin. See the [https://html.spec.whatwg.org/multipage/web-messaging.html#posting-messages](HTML spec) section 9.4.3 for more details on how the target origin policy is applied.

If an error occured, the fuchsia.web.FrameError will be set to one of these values:

  • INTERNAL_ERROR: The WebEngine failed to create a message pipe.
  • BUFFER_NOT_UTF8: The script in message's data property is not UTF-8 encoded.
  • INVALID_ORIGIN: origins is an empty vector.
  • NO_DATA_IN_MESSAGE: The data property is missing in message.

Request

NameType
target_origin Url
message WebMessage

Response

NameType
result Frame_PostMessage_Result

SetNavigationEventListener

Sets the listener for handling page navigation events.

  • listener: The observer to use. Unregisters any existing listener is null.

Request

NameType
listener NavigationEventListener?

SetJavaScriptLogLevel

If set to a value other than fuchsia.web.ConsoleLogLevel/NONE, allows web content to log messages to the system logger using the console APIs (debug(), log(), info(), warn() and error()).

When logged to the system logger:

Request

NameType
level ConsoleLogLevel

SetEnableInput

Used at runtime to enable or disable user input processing (e.g. keyboard, mouse, touch) on a fuchsia.web.Frame.

Input is enabled by default.

Request

NameType
enable_input bool

SetPopupFrameCreationListener

Sets the listener for handling popup frame opened by web content. If no listener is present, then any new popup frame will be blocked.

  • listener: The listener to use. Unregisters any existing listener if null.

Request

NameType
listener PopupFrameCreationListener?

SetUrlRequestRewriteRules

Supplies a set of fuchsia.web.UrlRequestRewriteRule to apply on every subsequent URL request.

Request

NameType
rules vector<UrlRequestRewriteRule>[4096]

Response

NameType

SetMediaSessionId

Sets session_id to pass to the fuchsia.media.AudioConsumer when playing audio. The specified value is not applied retroactively to audio streams that were started before this message is processed. If the caller needs to ensure the value is applied to all streams it should call this method before fuchsia.web.Frame/GetNavigationController.

Request

NameType
session_id uint64

MessagePort

Defined in fuchsia.web/frame.fidl

Represents one end of an HTML5 MessageChannel. Can be used to send and exchange Messages with the peered MessagePort in the Frame's script context. The port is destroyed when either end of the MessagePort channel is torn down.

PostMessage

Sends a fuchsia.web.WebMessage to the peer. These are processed in order, one at a time. It is not necessary for the caller to wait for the completion callback before calling fuchsia.web.MessagePort/PostMessage again.

If an error occured, the fuchsia.web.FrameError will be set to one of these value:

  • BUFFER_NOT_UTF8: The script in message's data property is not UTF-8 encoded.
  • NO_DATA_IN_MESSAGE: The data property is missing in message.

Request

NameType
message WebMessage

Response

NameType
result MessagePort_PostMessage_Result

ReceiveMessage

Asynchronously reads the next message from the channel. The client should invoke the callback when it is ready to process another message. Unreceived messages are buffered on the sender's side and bounded by its available resources.

Request

NameType

Response

NameType
message WebMessage

PopupFrameCreationListener

Defined in fuchsia.web/frame.fidl

OnPopupFrameCreated

Called when a fuchsia.web.Frame has created a new popup frame. Information about the popup frame, and how it was created, is provided via info. Additional popup frames are delivered after the the acknowledgement callback is invoked.

Request

NameType
frame Frame
info PopupFrameCreationInfo

Response

NameType

Defined in fuchsia.web/navigation.fidl

Interface supplied by the embedder for receiving notifications about navigation events in a fuchsia.web.Frame.

OnNavigationStateChanged

Called when user-visible navigation state has changed since fuchsia.web.Frame creation or the last acknowledgement callback, whichever occurred last. change will contain all the differences in navigation state since the last acknowledgement. Any unchanged properties will be left unset in change.

Implementer must call the acknowledgement callback to receive new navigation events.

Request

NameType
change NavigationState

Response

NameType

Defined in fuchsia.web/navigation.fidl

Provides methods for controlling and querying the navigation state of a fuchsia.web.Frame.

LoadUrl

Tells the fuchsia.web.Frame to navigate to a url.

  • url: The address to navigate to.
  • params: Additional parameters that affect how the resource will be loaded (e.g. cookies, HTTP headers, etc.)

If an error occured, the fuchsia.web.NavigationControllerError will be set to one of these values:

Request

NameType
url Url
params LoadUrlParams

Response

NameType
result NavigationController_LoadUrl_Result

GoBack

Tells the fuchsia.web.Frame to navigate to the previous page in its history, if any.

Request

NameType

GoForward

Tells the fuchsia.web.Frame to navigate to the next page in its history, if any.

Request

NameType

Stop

Tells the fuchsia.web.Frame to stop the current navigation if a navigation is ongoing.

Request

NameType

Reload

Tells the fuchsia.web.Frame to reload the current page.

Request

NameType
type ReloadType

GetVisibleEntry

Returns information for the currently visible content regardless of loading state, or an empty entry if no content is being displayed.

Request

NameType

Response

NameType
entry NavigationState

STRUCTS

Context_GetRemoteDebuggingPort_Response

generated

NameTypeDescriptionDefault
port uint16 No default

Frame_ExecuteJavaScript_Response

generated

NameTypeDescriptionDefault
result fuchsia.mem/Buffer No default

Frame_ExecuteJavaScriptNoResult_Response

generated

NameTypeDescriptionDefault

Frame_AddBeforeLoadJavaScript_Response

generated

NameTypeDescriptionDefault

Frame_PostMessage_Response

generated

NameTypeDescriptionDefault

MessagePort_PostMessage_Response

generated

NameTypeDescriptionDefault

generated

NameTypeDescriptionDefault

ENUMS

ContextError

Type: int32

Defined in fuchsia.web/context.fidl

NameValueDescription
REMOTE_DEBUGGING_PORT_NOT_OPENED 1

The remote debugging service was not opened.

ConsoleLogLevel

Type: int32

Defined in fuchsia.web/frame.fidl

NameValueDescription
NONE 100

No logging.

DEBUG -1

Outputs messages from console.debug() and above levels.

INFO 0

Outputs messages from console.log(), console.info() and above levels.

WARN 1

Outputs messages from console.warn() and console.error().

ERROR 2

Outputs messages from console.error().

FrameError

Type: int32

Defined in fuchsia.web/frame.fidl

Represents the return status of a fuchsia.web.Frame method.

NameValueDescription
INTERNAL_ERROR 1

An internal error occured.

BUFFER_NOT_UTF8 2

The provided buffer is not UTF-8 encoded.

INVALID_ORIGIN 3

The Frame's URL does not match any of the origins provided by the caller.

NO_DATA_IN_MESSAGE 4

The required data property is missing from a fuchsia.web.WebMessage.

Type: int32

Defined in fuchsia.web/navigation.fidl

Represents the return status of a fuchsia.web.NavigationController method.

NameValueDescription
INVALID_URL 1

The provided URL is invalid.

INVALID_HEADER 2

At least one of the provided headers was invalid.

ReloadType

Type: uint32

Defined in fuchsia.web/navigation.fidl

Characterizes the type of reload.

NameValueDescription
PARTIAL_CACHE 0

Reloads the current entry, bypassing the cache for the main resource.

NO_CACHE 1

Reloads the current entry, bypassing the cache entirely.

LoadUrlReason

Type: uint32

Defined in fuchsia.web/navigation.fidl

Characterizes the origin of a fuchsia.web.NavigationController/LoadUrl request.

NameValueDescription
LINK 0

Navigation was initiated by the user following a link.

TYPED 1

Navigation was initiated by a user-provided URL.

PageType

Type: uint32

Defined in fuchsia.web/navigation.fidl

Characterizes the page type in a fuchsia.web.NavigationState.

NameValueDescription
NORMAL 0

Regular web page.

ERROR 1

Error page.

TABLES

ContentDirectoryProvider

Defined in fuchsia.web/context.fidl

Defines a provider which hosts resources from a fuchsia.io.Directory. Content can GET resource files via the provider, but not enumerate directories. Resources can be accessed by their URLs: fuchsia-dir://<provider-name>/<path/to/resource>

By default the MIME types of files are determined automatically by "sniffing" the contents of the files. No content encoding will be declared, which browsers will interpret as meaning "text/plain".

Content type and encoding metadata may optionally be specified explicitly by metadata files, which reside alongside the file. Metadata is expressed in JSON files, named after the files they describe with a "._metadata" suffix.

For example, the file "index.html" would have the a metadata file called "index.html._metadata", with the following contents:

{
  "charset": "utf-8",
  "mime": "text/html"
}
OrdinalNameTypeDescription
1 name string[255]

Name of the provider. Must be non-empty and composed solely of alphanumerics, dots, and dashes.

2 directory fuchsia.io/Directory

Directory containing the files served by this provider.

CreateContextParams

Defined in fuchsia.web/context.fidl

OrdinalNameTypeDescription
1 service_directory fuchsia.io/Directory

Service directory to be used by the context. The following services must be present in the directory:

The following services must be present in order to present web content in a Scenic view using fuchsia.web.Frame/CreateView:

2 data_directory fuchsia.io/Directory

Handle to the directory that will contain the fuchsia.web.Context's persistent data. If it is left unset, then the created fuchsia.web.Context will be stateless, with all of its data discarded upon fuchsia.web.Context destruction.

If set, data_directory must not be shared with any other fuchsia.web.Context.

3 user_agent_product string[128]

Optional suffix to append to the UserAgent string, to describe the embedder's product & version. See the User-Agent HTTP header specification at https://tools.ietf.org/html/rfc7231#section-5.5.3

4 user_agent_version string[128]
5 remote_debugging_port uint16

Enables Frames to be created with remote debugging enabled using the DevTools protocol. If port is 0, then an ephemeral port will be used, which can be queried via the fuchsia.web.Context/GetRemoteDebuggingPort API.

6 content_directories vector<ContentDirectoryProvider>[100]

List of providers whose contents will be served by fuchsia-dir:// URLs.

7 features ContextFeatureFlags

Optional features that should be enabled for this context. Some features may also require additional services in service_directory.

8 playready_key_system string[128]

Enables PlayReady CDM for the Context using the specified string as a key system string. The string should be a reverse domain name, as required by EME API. Requires fuchsia.media.drm.PlayReady service.

9 unsafely_treat_insecure_origins_as_secure vector<string>[100]

Treat given insecure origins as secure origins. For the definition of secure contexts, see https://w3c.github.io/webappsec-secure-contexts/ and https://www.w3.org/TR/powerful-features/#is-origin-trustworthy. Example value: {"http://a.com", "http://b.com"}.

CreateFrameParams

Defined in fuchsia.web/context.fidl

OrdinalNameTypeDescription
1 enable_remote_debugging bool

Set to true to enable remote debugging. The fuchsia.web.Frame will be closed with `ERR_INVALID_ARGS if |remote_debugging_port| was not set in fuchsia.web.CreateContextParams.

CookieId

Defined in fuchsia.web/cookie.fidl

OrdinalNameTypeDescription
1 name CookieName

The name of the cookie. An arbitrary string defined by the website.

2 domain string

Specifies the host that is allowed to receive the cookie.

3 path string

Specifies the URL path prefix which is required to receive the cookie.

Defined in fuchsia.web/cookie.fidl

OrdinalNameTypeDescription
1 id CookieId

A table with fields to identify a cookie.

2 value string

The cookie value.

WebMessage

Defined in fuchsia.web/frame.fidl

OrdinalNameTypeDescription
1 data fuchsia.mem/Buffer

The message payload, encoded as an UTF-8 string. This is a required property.

2 incoming_transfer vector<IncomingTransferable>

Optional list of objects transferred into the fuchsia.web.MessagePort from the FIDL client.

3 outgoing_transfer vector<OutgoingTransferable>

Optional list of objects transferred out of the fuchsia.web.MessagePort to the FIDL client.

PopupFrameCreationInfo

Defined in fuchsia.web/frame.fidl

Specifies additional information about a newly created popup frame.

OrdinalNameTypeDescription
1 initial_url Url

The URL to which the popup frame was initially navigated.

2 initiated_by_user bool

Set if the popup frame was created in response to UI interaction from the user (e.g. a link was clicked).

LoadUrlParams

Defined in fuchsia.web/navigation.fidl

Additional parameters for modifying the behavior of fuchsia.web.NavigationController/LoadUrl.

OrdinalNameTypeDescription
1 type LoadUrlReason

Provides a hint to the browser UI about how fuchsia.web.NavigationController/LoadUrl was triggered.

2 referrer_url Url

The URL that linked to the resource being requested.

3 was_user_activated bool

Should be set to true to propagate user activation to the frame. User activation implies that the user is interacting with the web frame. It enables some web features that are not available otherwise. For example, autoplay will work only when this flag is set to true.

4 headers vector<fuchsia.net.http/Header>

Custom HTTP headers.

Defined in fuchsia.web/navigation.fidl

Contains information about the fuchsia.web.Frame's navigation state.

OrdinalNameTypeDescription
1 url Url

The page's URL.

2 title string

The user-visible page title.

3 page_type PageType

Indicates whether this was a navigation to an error page.

4 can_go_forward bool

Indicates if there is a following navigation.

5 can_go_back bool

Indicates if there is a previous navigation.

6 is_main_document_loaded bool

Indicates that the main document's statically declared resources have been loaded.

UrlRequestRewriteRule

Defined in fuchsia.web/url_request_rewrite_rules.fidl

OrdinalNameTypeDescription
1 hosts_filter vector<string>[4096]

Set of hosts to apply the rules to. If not set, the rule will apply to every request, independent of host.

2 schemes_filter vector<string>[4096]

Set of schemes to apply the rules to. If not set, the rule will apply to every request, independent of scheme.

3 rewrites vector<UrlRequestRewrite>[4096]

URL request rewrites to apply.

UrlRequestRewriteAddHeaders

Defined in fuchsia.web/url_request_rewrite_rules.fidl

Adds headers to the URL request. If a header is already present in the original URL request, it will be overwritten.

OrdinalNameTypeDescription
1 headers vector<fuchsia.net.http/Header>[4096]

UrlRequestRewriteRemoveHeader

Defined in fuchsia.web/url_request_rewrite_rules.fidl

If query_pattern in the URL query, removes header_name from the list of headers. If query_pattern is not set, removes header_name from the list of headers unconditionally.

OrdinalNameTypeDescription
1 query_pattern Url
2 header_name vector<uint8>[4096]

UrlRequestRewriteSubstituteQueryPattern

Defined in fuchsia.web/url_request_rewrite_rules.fidl

If pattern is found in the URL request query, replaces it with substitution.

  • pattern and substitution must be set.
  • substitution must be a valid URL-query string.
OrdinalNameTypeDescription
1 pattern Url
2 substitution Url

UrlRequestRewriteReplaceUrl

Defined in fuchsia.web/url_request_rewrite_rules.fidl

If the URL in the URL request ends with url_ends_with, rewrites the URL to new_url.

OrdinalNameTypeDescription
1 url_ends_with Url
2 new_url Url

UNIONS

Context_GetRemoteDebuggingPort_Result

generated

NameTypeDescription
response Context_GetRemoteDebuggingPort_Response
err ContextError

Frame_ExecuteJavaScript_Result

generated

NameTypeDescription
response Frame_ExecuteJavaScript_Response
err FrameError

Frame_ExecuteJavaScriptNoResult_Result

generated

NameTypeDescription
response Frame_ExecuteJavaScriptNoResult_Response
err FrameError

Frame_AddBeforeLoadJavaScript_Result

generated

NameTypeDescription
response Frame_AddBeforeLoadJavaScript_Response
err FrameError

Frame_PostMessage_Result

generated

NameTypeDescription
response Frame_PostMessage_Response
err FrameError

MessagePort_PostMessage_Result

generated

NameTypeDescription
response MessagePort_PostMessage_Response
err FrameError

generated

NameTypeDescription
response NavigationController_LoadUrl_Response
err NavigationControllerError

XUNIONS

OutgoingTransferable

Defined in fuchsia.web/frame.fidl

NameTypeDescription
message_port request<MessagePort>

IncomingTransferable

Defined in fuchsia.web/frame.fidl

NameTypeDescription
message_port MessagePort

UrlRequestRewrite

Defined in fuchsia.web/url_request_rewrite_rules.fidl

NameTypeDescription
add_headers UrlRequestRewriteAddHeaders

Adds a set of headers to a URL request.

remove_header UrlRequestRewriteRemoveHeader

Removes a header based on the presence of a pattern in the URL query.

substitute_query_pattern UrlRequestRewriteSubstituteQueryPattern

Substitutes a pattern in the URL query.

replace_url UrlRequestRewriteReplaceUrl

Replaces a URL if the original URL ends with a pattern.

BITS

ContextFeatureFlags

Type: uint64

NameValueDescription
NETWORK 1

Enables network access. Requires the following services:

AUDIO 2

Enables audio input and output. Requires fuchsia.media.Audio and fuchsia.media.SessionAudioConsumerFactory service.

VULKAN 4

Enables GPU-accelerated rendering of the web content. Requires the following services:

HARDWARE_VIDEO_DECODER 8

Enables hardware video decoding. VULKAN must be enabled as well. Requires fuchsia.mediacodec.CodecFactory service.

HARDWARE_VIDEO_DECODER_ONLY 16

Disables all software video decoders. Videos will be rendered only if they can be decoded in hardware using fuchsia.mediacodec.CodecFactory. Requires the HARDWARE_VIDEO_DECODER flag.

WIDEVINE_CDM 32

Enables Widevine CDM modules for EME API. VULKAN feature must be enabled as well. Requires fuchsia.media.drm.Widevine service.

HEADLESS 64

Allows embedders to render web content without graphical output or Scenic. Not compatible with the VULKAN flag.

CONSTANTS

NameValueTypeDescription
MAX_URL_LENGTH 65536 int32
MAX_URL_SCHEME_NAME_LENGTH 255 int32
MAX_HOST_LENGTH 255 int32
MAX_SCHEME_AND_HOST_LENGTH 513 int32
MAX_HEADERS_COUNT 4096 int32
MAX_RULE_COUNT 4096 int32

TYPE ALIASES

NameValueDescription
Url string[MAX_URL_LENGTH]
UrlSchemeName string[MAX_URL_SCHEME_NAME_LENGTH]
UrlHostName string[MAX_HOST_LENGTH]
UrlSchemeAndHostName string[MAX_SCHEME_AND_HOST_LENGTH]
CookieName string