HttpStep

sealed interface HttpStep<out T>(source)

One step of an HttpExchange.

Inheritors

Types

Link copied to clipboard
data class Done<T>(val value: T) : HttpStep<T>

The exchange is finished with value.

Link copied to clipboard
data class Send(val request: ProtocolRequest) : HttpStep<Nothing>

Send request and pass the response to the next call of HttpExchange.next.