Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Sellia::Server::PendingRequest
Inherits
Reference
/
Object
Constants
Log = ::
Log
.for("sellia.server.pending")
Constructors
new
(id :
String
, context :
HTTP::Server::Context
, tunnel_id :
String
)
Source
Instance methods
channel
Source
channel=
(channel :
Channel
(
Nil
))
Source
context
Source
context=
(context :
HTTP::Server::Context
)
Source
created_at
Source
created_at=
(created_at :
Time
)
Source
error
(status :
Int32
, message :
String
)
Source
finish
Source
id
Source
id=
(id :
String
)
Source
response_started
Source
response_started=
(response_started :
Bool
)
Source
start_response
(status_code :
Int32
, headers :
Hash
(
String
,
Array
(
String
)))
Source
tunnel_id
Source
tunnel_id=
(tunnel_id :
String
)
Source
wait
(timeout :
Time::Span
= 30.seconds) :
Bool
Source
write_body
(chunk :
Bytes
)
Source