Rayo::Context
Inherits Reference < Object
Views expire when the response finishes. A deferred response keeps its input pinned.
Constructors
new(id : Int32)
SourceInstance methods
body
Sourcecancel_defer
Sourcecapture(name : String, value : Bytes) : Nil
Sourcecode
Sourcecompress
Sourcecompress=(compress : Bool)
Sourcecontent_type(value : String | Bytes) : Nil
Sourcecontent_type
Sourcedatabase_error
Sourcedb
Sourcedb_failed
Sourcedb_failed=(db_failed : Bool)
Sourcedb_pending
Sourcedb_pending=(db_pending : Int32)
Sourcedefer
Sourcedeferred
Sourceheader(name : String, value : String | Bytes) : Nil
Sourceheader(name : String) : Bytes
Sourceheaders
Sourcejson
Sourcejson
Sourcejson_array(enumerable, &) : Nil
Sourcejson_body
Sourcemethod
Sourceoutput
Sourceparam(name : String) : Bytes
Sourceparam_count
Sourceparam_count=(param_count : Int32)
Sourceparam_i64(name : String) : Int64
Sourcepath
Sourcequery(name : String) : Bytes
Sourcequery
Sourcerequest
Sourcereset(request : HTTP::Request) : Nil
Sourceresponse_header(name : String) : Bytes
Borrowed response header view, valid until the next header update.
serial
Sourcestatus(code : Int32) : Nil
Sourcestatus
Sourcetext(value : String) : Nil
Sourcework_pending
Sourcework_pending=(work_pending : Int32)
Sourcewrite(value : Bytes) : Nil
Source