RequestResponseBuilder
Builds an HTTP request or response
Builds an HTTP request or response
Builds an HTTP request or response
Constructors
Functions
Link copied to clipboard
Build a packet of request/response
Build a packet of request/response
Build a packet of request/response
Link copied to clipboard
Append header line
Append header line
Append header line
Link copied to clipboard
Append a line
Append a line
Append a line
Link copied to clipboard
expect fun requestLine(method: HttpMethod, uri: CharSequence, version: CharSequence)
Content copied to clipboard
Append request line
actual fun requestLine(method: HttpMethod, uri: CharSequence, version: CharSequence)
Content copied to clipboard
Append request line
actual fun requestLine(method: HttpMethod, uri: CharSequence, version: CharSequence)
Content copied to clipboard
Append request line
Link copied to clipboard
expect fun responseLine(version: CharSequence, status: Int, statusText: CharSequence)
Content copied to clipboard
Append response status line
actual fun responseLine(version: CharSequence, status: Int, statusText: CharSequence)
Content copied to clipboard
Append response status line
actual fun responseLine(version: CharSequence, status: Int, statusText: CharSequence)
Content copied to clipboard
Append response status line