Optional
client_Optional
cookiesMatches a request based on one or more cookie values. Keys are case-sensitive cookie names, values are regular expressions to match or null. When value is null then requests are matched for the cookie not being present.
Optional
deviceMatches a request based on the specific device property. See: https://docs.edgecast.com/cdn/index.html#HRE/M/Device-Match_Condtions.htm%3FTocPath%3DContent%2520Delivery%7CRequest%7CCustom%2520Request%2520Handling%2520via%2520Rules%2520Engine%7CMatches%2520and%2520Features%7CMatches%7CDevice%7C_____0
Optional
headersMatches a request based on one or more header values. Keys are case-insensitive header names, values are regular expressions to match or null. When value is null then requests are matched for the header not being present.
Optional
locationMatches a request based on the specific location property. See: https://docs.edgecast.com/cdn/index.html#HRE/M/Location-Match-Conditions.htm%3FTocPath%3DContent%2520Delivery%7CRequest%7CCustom%2520Request%2520Handling%2520via%2520Rules%2520Engine%7CMatches%2520and%2520Features%7CMatches%7CLocation%7C_____0
Optional
methodMatches a request based on the HTTP method. Instead of this, prefer using
get
, post
, put
, delete
, options
, and patch
methods.
Optional
origin_Matches a request based on the origin path (the path after rewrites).
"/products/:id"
/^/products/(.+)$/
Optional
pathMatches a request based on the path. The same path syntax is used by
the simple form of the Router class's match
method.
The path can be an express-style path expression or regular expression.
Both express-style path and regular expression need to match the entire path including the leading slash.
"/products/:id"
/^/products/(.+)$/
Optional
pop_Optional
queryMatches a request based on one or more query parameter values. Keys are case-sensitive names, values are regular expressions to match or null. When value is null then requests are matched for the query parameter not being present.
Optional
randomOptional
referring-Matches a request based on the referring-domain variable value(s).
Optional
responseMatches properties of the response response.
Optional
schemeMatches a request based on its protocol / scheme. Unless explicitly specified then https
is the default. To serve a route on both HTTPS and HTTP you can specify /https?/
regex. If an HTTP request is not matched against any route, Edgio will
automatically issue a redirect to equivalent HTTPS URL.
Optional
variableMatches a request based on the variable value.
Generated using TypeDoc
Matches a request based on the client ip variable value(s).