struct Inquirer::Protocol::Request

Overview

A request consisting of a Command plus an optional string argument of some kind.

Included Modules

Defined in:

inquirer/protocol.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(command : Inquirer::Protocol::Command, argument : String = "") #

[View source]

Instance Method Detail

def argument : String #

Returns the argument of this request.


[View source]
def command : Command #

Returns the command of this request.


[View source]
def to_s(io) #

[View source]