Package-level declarations
Helper methods and structures for performing HTTP requests.
Types
Link copied to clipboard
A single event read from a Server-Sent Events (SSE) stream.
Link copied to clipboard
Reads ServerSentEvents from an HTTP response body in the text/event-stream format.
Properties
Functions
Link copied to clipboard
fun <TEntity : Any> Response.entitySequence(serializer: Serializer, separatorBytes: ByteString, bufferSize: Int, entityType: Class<TEntity>): Sequence<TEntity>
Streams deserialized entities from an HTTP response body.
Link copied to clipboard
Returns the relative waiting time extracted from the Retry-After header if any.