RespExt extension

on

Properties

cookies Map<String, ClientCookie>

Available on Response, provided by the RespExt extension

no setter
encoding String

Available on Response, provided by the RespExt extension

no setter
isFailure bool

Available on Response, provided by the RespExt extension

no setter
isSuccess bool

Available on Response, provided by the RespExt extension

no setter
mimeType String

Available on Response, provided by the RespExt extension

no setter

Methods

exact({int? statusCode, String? body, List<int>? bytes, String? mimeType, String? encoding, Map<String, String>? headers, int? contentLength}) → void

Available on Response, provided by the RespExt extension

expect(List<Checker<Response>> conditions) → void

Available on Response, provided by the RespExt extension

json<T>([T convert(Map d)?]) → T

Available on Response, provided by the RespExt extension

jsonList<T>([T convert(Map d)?]) List<T>

Available on Response, provided by the RespExt extension

Constants

defaultCharset → const String
defaultContentType → const String