classafBedSheet::BedClientRes
sys::Obj afBedSheet::BedClientRes
For testing: Holds response data from a (fake) HTTP call to BedServer.
@since 1.0.4
- asBuf
Buf asBuf()
Return the response stream as a
Buf
.- asInStream
InStream asInStream()
Return the response stream.
- asStr
Str asStr()
Return the response stream as a
Str
.Cookie[] cookies := Cookie[,] { private set }
Return the http response cookies (read-only). Use this rather than looking for
Set-Cookie
headers.- headers
Str:Str headers := Utils.makeMap(Str#, Str#) { private set }
Return the http response headers (read-only).
- statusCode
Int statusCode { private set }
Return the http status code (read-only).