HttpChannel

wvlet.airframe.http.client.HttpChannel
trait HttpChannel extends AutoCloseable

A low-level interface for sending HTTP requests without managing retries nor filters. This interface abstracts away the backend implementation (e.g., Java Http client, Ajax client, OkHttp client, etc)

Attributes

Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def send(req: Request, channelConfig: HttpChannelConfig): Response

Send the request without modification.

Send the request without modification.

Attributes

def sendAsync(req: Request, channelConfig: HttpChannelConfig): Rx[Response]

Inherited methods

def close(): Unit

Attributes

Inherited from:
AutoCloseable