sendDefaultErrorResponseTo

Method to send the defaultErrorResponse

Parameters

port

: port of the server socket where this request must be accepted and routed

Throws

when some errors have been occurred


Method to send the defaultErrorResponse

Parameters

host

: host of the server socket where this request must be accepted and routed

Throws

when some errors have been occurred


open fun sendDefaultErrorResponseTo(host: String, port: Int)

Method to send the defaultErrorResponse

Parameters

port

: port of the server socket where this request must be accepted and routed

host

: host of the server socket where this request must be accepted and routed

Throws

when some errors have been occurred