serverino ~master (2024-03-17T18:35:47Z)
Dub
Repo
Output.OutputImpl
serverino
interfaces
Output
Undocumented in source.
struct
Output
package
struct
OutputImpl {
Cookie
[]
_cookies
;
KeyValue
[]
_headers
;
bool
_keepAlive
;
string
_httpVersion
;
ushort
_status
;
Duration
_timeout
;
bool
_dirty
;
size_t
_requestId
;
DataBuffer
!
char
_sendBuffer
;
DataBuffer
!
char
_headersBuffer
;
string
_buffer
;
Socket
_channel
;
bool
_flushed
;
bool
_sendBody
;
void
buildHeaders
();
void
clear
();
}
Members
Functions
buildHeaders
void
buildHeaders
()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void
clear
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_buffer
string
_buffer
;
Undocumented in source.
_channel
Socket
_channel
;
Undocumented in source.
_cookies
Cookie
[]
_cookies
;
Undocumented in source.
_dirty
bool
_dirty
;
Undocumented in source.
_flushed
bool
_flushed
;
Undocumented in source.
_headers
KeyValue
[]
_headers
;
Undocumented in source.
_headersBuffer
DataBuffer
!
char
_headersBuffer
;
Undocumented in source.
_httpVersion
string
_httpVersion
;
Undocumented in source.
_keepAlive
bool
_keepAlive
;
Undocumented in source.
_requestId
size_t
_requestId
;
Undocumented in source.
_sendBody
bool
_sendBody
;
Undocumented in source.
_sendBuffer
DataBuffer
!
char
_sendBuffer
;
Undocumented in source.
_status
ushort
_status
;
Undocumented in source.
_timeout
Duration
_timeout
;
Undocumented in source.
Meta
Source
See Implementation
serverino
interfaces
Output
functions
addHeader
opAssign
opOpAssign
sendData
serveFile
setCookie
setTimeout
write
properties
status
static functions
toHTTPDate
structs
KeyValue
OutputImpl
variables
_internal