class Playwright::Route::ContinueOverrides

Included Modules

Defined in:

playwright/route.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(url : Nil | String = nil, method : Nil | String = nil, post_data : Slice(UInt8) | Nil = nil, headers : Nil | Hash(String, String) = nil) #

[View source]

Instance Method Detail

def headers : Hash(String, String) | Nil #

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


[View source]
def headers=(headers : Hash(String, String) | Nil) #

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


[View source]
def method : String | Nil #

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


[View source]
def method=(method : String | Nil) #

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


[View source]
def post_data : Bytes | Nil #

If set changes the post data of request


[View source]
def post_data=(post_data : Bytes | Nil) #

If set changes the post data of request


[View source]
def url : String | Nil #

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


[View source]
def url=(url : String | Nil) #

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


[View source]
def with_post_data(data : String) #

[View source]