class

MCP::Shared::RequestOptions

Inherits JSON::Serializable < Reference < Object

Constructors

new(on_progress : Nil | MCP::Protocol::Progress -> _ = nil, timeout : Float64 = DEFAULT_REQUEST_TIMEOUT)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

on_progress
Source
on_progress=(on_progress : ProgressCallback | Nil)
Source
timeout
Source
timeout=(timeout : Float64)
Source