SyncTLSSocketServer

zhttp.SyncTLSSocketServer
class SyncTLSSocketServer[Env](port: Int, keepAlive: Int, serverIP: String, keystore: String, keyStorePwd: String, tlsVersion: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def buildSSLContext(protocol: String, JKSkeystore: String, password: String): Task[SSLContext]
def ctrlC_handlerZIO(s0: SSLServerSocket): Task[Unit]
def hostName(address: SocketAddress): String
def isTerminated: Boolean
def myAppLogic(processor: IOChannel => Chunk[Byte] => ZIO[Env, Throwable, Unit], sslctx: SSLContext): ZIO[Env, Throwable, ExitCode]
def run(appRoutes: HttpRoutes[Env]*): ZIO[Env, Nothing, ExitCode]
def stop: ZIO[Any, Throwable, Unit]
def terminate: Unit

Deprecated methods

def run(proc: IOChannel => Chunk[Byte] => ZIO[Env, Throwable, Unit]): ZIO[Env, Nothing, ExitCode]

Attributes

Deprecated
true

Concrete fields

val BINDING_SERVER_IP: String
val KEEP_ALIVE: Int
val KEYSTORE_PASSWORD: String
val KEYSTORE_PATH: String
val SERVER_PORT: Int
val TLS_PROTO: String