struct Protocol::Fetch::RequestPattern
- Protocol::Fetch::RequestPattern
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
protocol/fetch.crConstructors
Instance Method Summary
-
#request_stage : RequestStage | Nil
Stage at which to begin intercepting requests.
-
#resource_type : Network::ResourceType | Nil
If set, only requests for matching resource types will be intercepted.
-
#url_pattern : String | Nil
Wildcards (
'*'
-> zero or more,'?'
-> exactly one) are allowed.
Constructor Detail
Instance Method Detail
def request_stage : RequestStage | Nil
#
Stage at which to begin intercepting requests. Default is Request.
def resource_type : Network::ResourceType | Nil
#
If set, only requests for matching resource types will be intercepted.
def url_pattern : String | Nil
#
Wildcards ('*'
-> zero or more, '?'
-> exactly one) are allowed. Escape character is
backslash. Omitting is equivalent to "*"
.