class Playwright::Route::FulfillResponse

Included Modules

Defined in:

playwright/route.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(status = nil, headers = nil, content_type = nil, body = nil, path = nil) #

[View source]

Instance Method Detail

def body : String #

[View source]
def body=(body : String) #

[View source]
def body_bytes : Bytes #

[View source]
def body_bytes=(body_bytes : Bytes) #

[View source]
def content_type : String? #

[View source]
def content_type=(content_type : String?) #

[View source]
def headers : Hash(String, String)? #

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

[View source]
def path : Path? #

[View source]
def path=(path : Path?) #

[View source]
def status : Int32? #

[View source]
def status=(status : Int32?) #

[View source]