class

Playwright::Route::ContinueOverrides

Inherits JSON::Serializable / Reference / Object

Constructors

new(url : Nil | String = nil, method : Nil | String = nil, post_data : Slice(UInt8) | Nil = nil, headers : Nil | Hash(String, String) = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

headers

If set changes the request HTTP headers. Header values will be converted to a string.

Source
headers=(headers : Hash(String, String) | Nil)

If set changes the request HTTP headers. Header values will be converted to a string.

Source
method

If set changes the request method (e.g. GET or POST)

Source
method=(method : String | Nil)

If set changes the request method (e.g. GET or POST)

Source
post_data

If set changes the post data of request

Source
post_data=(post_data : Bytes | Nil)

If set changes the post data of request

Source
url

If set changes the request URL. New URL must have same protocol as original one.

Source
url=(url : String | Nil)

If set changes the request URL. New URL must have same protocol as original one.

Source
with_post_data(data : String)
Source