struct

ECS::LogEntry::Http::Request::Body

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bytes(new_value : UInt64)

A chainable setter for bytes

Source
bytes

http.request.body.bytes

Size in bytes of the request body.

Level: Extended Type: Long Example:

887
Source
bytes=(bytes : UInt64 | Nil)

http.request.body.bytes

Size in bytes of the request body.

Level: Extended Type: Long Example:

887
Source
content(new_value : String)

A chainable setter for content

Source
content

http.request.body.content

The full HTTP request body.

Level: Extended Type: Keyword Example:

Hello world
Source
content=(content : String | Nil)

http.request.body.content

The full HTTP request body.

Level: Extended Type: Keyword Example:

Hello world
Source