SocketHandler

interface SocketHandler

Handles a call's request and response streams directly. Use this instead of MockResponseBody to begin sending response data before all request data has been received.

See okhttp3.RequestBody.isDuplex.

Functions

Link copied to clipboard
abstract fun handle(socket: Socket)