class Playwright::Route::FulfillResponse
- Playwright::Route::FulfillResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/route.crConstructors
- .new(pull : JSON::PullParser)
- .new(status = nil, headers = nil, content_type = nil, body = nil, path = nil)
Instance Method Summary
- #body : String
- #body=(body : String)
- #body_bytes : Bytes
- #body_bytes=(body_bytes : Bytes)
- #content_type : String?
- #content_type=(content_type : String?)
- #headers : Hash(String, String)?
- #headers=(headers : Hash(String, String)?)
- #path : Path?
- #path=(path : Path?)
- #status : Int32?
- #status=(status : Int32?)