http
http
API
korolev.effect.io
DataSocket
DataSocket
CloseReason
ByPeer
Error
StreamCanceled
CloseReason
RawDataSocket
RawDataSocket
SecureDataSocket
SecureDataSocket
ServerSocket
ServerSocket
ServerSocketHandler
ServerSocketHandler
korolev.http
HttpClient
HttpClient
HttpServer
korolev.http.protocol
Http11
Http11
WebSocketProtocol
WebSocketProtocol
DecodingState
Begin
LongLength
Payload
ShortLength
DecodingState
Frame
Binary
ConnectionClose
Continuation
Control
Merged
Ping
Pong
Text
Unspecified
Frame
Intention
Intention
http
/
korolev.http
/
HttpClient
HttpClient
korolev.http.HttpClient
See the
HttpClient
companion object
class
HttpClient
[
F
[
_
],
B
]
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Clear all
Members list
Concise view
Value members
Concrete methods
def
apply
(
method
:
Method
,
uri
:
URI
,
headers
:
Seq
[(
String
,
String
)],
contentLength
:
Option
[
Long
],
body
:
Stream
[
F
,
B
]):
F
[
Response
[
Stream
[
F
,
B
]]]
def
http
(
address
:
InetSocketAddress
,
request
:
Request
[
Stream
[
F
,
B
]]):
F
[
Response
[
Stream
[
F
,
B
]]]
def
https
(
address
:
InetSocketAddress
,
request
:
Request
[
Stream
[
F
,
B
]]):
F
[
Response
[
Stream
[
F
,
B
]]]
def
secureWebSocket
(
address
:
InetSocketAddress
,
path
:
PathAndQuery
,
outgoingFrames
:
Stream
[
F
,
Frame
[
B
]],
cookie
:
Map
[
String
,
String
],
headers
:
Map
[
String
,
String
]):
F
[
Response
[
Stream
[
F
,
Merged
[
B
]]]]
def
webSocket
(
uri
:
URI
,
outgoingFrames
:
Stream
[
F
,
Frame
[
B
]],
cookie
:
Map
[
String
,
String
],
headers
:
Map
[
String
,
String
]):
F
[
Response
[
Stream
[
F
,
Merged
[
B
]]]]
def
webSocket
(
address
:
InetSocketAddress
,
path
:
PathAndQuery
,
outgoingFrames
:
Stream
[
F
,
Frame
[
B
]],
cookie
:
Map
[
String
,
String
],
headers
:
Map
[
String
,
String
]):
F
[
Response
[
Stream
[
F
,
Merged
[
B
]]]]