hailo
HEAD
Hailo
CLI
Expression
Learn
Cache
LinkCounts
Lists
Markov
Parse
Progress
Reply
Server
LearnAndReplyRequest
LearnRequest
ReplyRequest
Response
Store
Token
Probability
Spacing
State
TokenId
class
Hailo::Server::Response
Hailo::Server::Response
Reference
Object
Included Modules
JSON::Serializable
Defined in:
hailo/server.cr
Constructors
.new
(pull : JSON::PullParser)
.new
(reply =
nil
, error =
nil
)
Instance Method Summary
#error
: String?
#error=
(error : String?)
#reply
: String?
#reply=
(reply : String?)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
def self.
new
(reply =
nil
, error =
nil
)
#
[
View source
]
Instance Method Detail
def
error
: String?
#
[
View source
]
def
error=
(error : String?)
#
[
View source
]
def
reply
: String?
#
[
View source
]
def
reply=
(reply : String?)
#
[
View source
]