HttpImpl

etlflow.http.HttpImpl$
object HttpImpl extends Http, ApplicationLogger

Attributes

Graph
Supertypes
trait ApplicationLogger
trait Http
class Object
trait Matchable
class Any
Self type
HttpImpl.type

Members list

Type members

Types

type EtlFlowSttpBackend = SttpBackend[Task, ZioStreams & WebSockets]

Value members

Concrete methods

override def execute(method: HttpMethod, url: String, params: Either[String, Map[String, String]], headers: Map[String, String], logDetails: Boolean, connectionTimeout: Long, readTimeout: Long, allowUnsafeSsl: Boolean): Task[Response[String]]

Attributes

Definition Classes
def getBackend(connectionTimeout: Long, allowUnsafeSSL: Boolean): ZIO[Scope, Throwable, EtlFlowSttpBackend]

Attributes

def getBackendWithSSLContext(connectionTimeout: Long, sslContext: SSLContext, followRedirects: Redirect): ZIO[Scope, Throwable, EtlFlowSttpBackend]
def logAndParseResponse(req: RequestT[Identity, String, Any], logDetails: Boolean, connectionTimeout: Long, allowUnsafeSsl: Boolean): ZIO[Scope, Throwable, Response[String]]

Attributes

def logBackend(backend: EtlFlowSttpBackend, logDetails: Boolean): EtlFlowSttpBackend

Attributes

Inherited fields

lazy protected val logger: Logger

The logger instance used for logging within the application.

The logger instance used for logging within the application.

Attributes

Inherited from:
ApplicationLogger
protected val zioSlf4jLogger: ULayer[Unit]

The ZIO logging layer for SLF4J backend.

The ZIO logging layer for SLF4J backend.

Attributes

Inherited from:
ApplicationLogger