struct Protocol::Network::RequestPattern
- Protocol::Network::RequestPattern
- Struct
- Value
- Object
Overview
Request pattern for interception.
Included Modules
- JSON::Serializable
Defined in:
protocol/network.crConstructors
Instance Method Summary
-
#interception_stage : InterceptionStage | Nil
Stage at which to begin intercepting requests.
-
#resource_type : 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 interception_stage : InterceptionStage | Nil
#
Stage at which to begin intercepting requests. Default is Request.
def resource_type : 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 "*"
.