ECS::LogEntry::Http::Response
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
body
Sourcebody=(body : Body | Nil)
Sourcebytes
http.response.bytes
Total size in bytes of the response (body and headers).
Level: Extended Type: Long Example:
1437
bytes=(bytes : UInt64 | Nil)
http.response.bytes
Total size in bytes of the response (body and headers).
Level: Extended Type: Long Example:
1437
status_code
http.response.status_code
HTTP response status code.
Level: Extended Type: Long Example:
404
status_code=(status_code : UInt64 | Nil)
http.response.status_code
HTTP response status code.
Level: Extended Type: Long Example:
404