package
http
Type Members
-
type
RequestHandler = (FullHttpRequest, FullHttpResponse) ⇒ Unit
-
type
ResponseHandler = (FullHttpResponse) ⇒ Unit
Value Members
-
val
MAX_CONTENT_LENGTH: Int
-
-
def
request(host: String, port: Int, req: FullHttpRequest, handler: (FullHttpResponse) ⇒ Unit): Unit
-
def
request(host: String, port: Int, req: FullHttpRequest): FullHttpResponse
-
def
respond(port: Int, handler: (FullHttpRequest, FullHttpResponse) ⇒ Unit): Server
-
def
respondOne(port: Int, handler: (FullHttpRequest, FullHttpResponse) ⇒ Unit): Server
-
Inherited from AnyRef
Inherited from Any