com
.
github
.
agourlay
.
cornichon
http
package
http
Visibility
Public
All
Type Members
case class
BadSessionHeadersEncoding
(
header:
String
)
extends
CornichonError
with
Product
with
Serializable
trait
BaseRequest
extends
AnyRef
case class
ByNames
(
names:
Seq
[
String
]
)
extends
HeaderSelection
with
Product
with
Serializable
case class
CornichonHttpResponse
(
status:
Int
,
headers:
Seq
[(
String
,
String
)] =
Nil
,
body:
String
)
extends
Product
with
Serializable
sealed
trait
HeaderSelection
extends
AnyRef
trait
HttpDsl
extends
HttpDslOps
with
HttpRequestsDsl
trait
HttpDslOps
extends
AnyRef
sealed
trait
HttpError
extends
CornichonError
case class
HttpMethod
(
name:
String
)
extends
Product
with
Serializable
case class
HttpRequest
[
A
]
(
method:
HttpMethod
,
url:
String
,
body:
Option
[
A
]
,
params:
Seq
[(
String
,
String
)]
,
headers:
Seq
[(
String
,
String
)]
)
(
implicit
evidence$1:
Show
[
A
]
,
evidence$2:
Resolvable
[
A
]
,
evidence$3:
Encoder
[
A
]
)
extends
BaseRequest
with
Product
with
Serializable
trait
HttpRequestsDsl
extends
AnyRef
class
HttpService
extends
AnyRef
case class
HttpStream
(
name:
String
)
extends
Product
with
Serializable
case class
HttpStreamedRequest
(
stream:
HttpStream
,
url:
String
,
takeWithin:
FiniteDuration
,
params:
Seq
[(
String
,
String
)]
,
headers:
Seq
[(
String
,
String
)]
)
extends
BaseRequest
with
Product
with
Serializable
case class
MalformedHeadersError
(
error:
String
)
extends
CornichonError
with
Product
with
Serializable
case class
MalformedUriError
(
uri:
String
,
error:
String
)
extends
CornichonError
with
Product
with
Serializable
case class
PathExtractor
(
path:
String
,
targetKey:
String
)
extends
ResponseExtractor
with
Product
with
Serializable
case class
QueryGQL
(
url:
String
,
query:
Document
,
operationName:
Option
[
String
]
,
variables:
Option
[
Map
[
String
,
Json
]]
,
params:
Seq
[(
String
,
String
)]
,
headers:
Seq
[(
String
,
String
)]
)
extends
Product
with
Serializable
case class
RequestError
[
A
]
(
request:
A
,
e:
Throwable
)
(
implicit
evidence$2:
Show
[
A
]
)
extends
HttpError
with
Product
with
Serializable
sealed
trait
ResponseExtractor
extends
AnyRef
case class
RootExtractor
(
targetKey:
String
)
extends
ResponseExtractor
with
Product
with
Serializable
case class
SseError
(
e:
Throwable
)
extends
HttpError
with
Product
with
Serializable
case class
StatusNonExpected
(
expected:
Int
,
response:
CornichonHttpResponse
)
extends
HttpError
with
Product
with
Serializable
case class
TimeoutErrorAfter
[
A
]
(
request:
A
,
after:
FiniteDuration
)
(
implicit
evidence$1:
Show
[
A
]
)
extends
HttpError
with
Product
with
Serializable
case class
UnmarshallingResponseError
(
e:
Throwable
,
response:
String
)
extends
HttpError
with
Product
with
Serializable
case class
WsUpgradeError
(
status:
Int
)
extends
HttpError
with
Product
with
Serializable
Value Members
object
HttpDsl
object
HttpMethods
object
HttpRequest
extends
HttpRequestsDsl
with
Serializable
object
HttpService
object
HttpStreamedRequest
extends
Serializable
object
HttpStreams
object
NoOpExtraction
extends
ResponseExtractor
object
QueryGQL
extends
Serializable
object
SelectAll
extends
HeaderSelection
object
SelectNone
extends
HeaderSelection
package
client
package
steps
Ungrouped