harness-http-client
harness-http-client
API
harness.http.client
AppliedResponse
HttpClient
HttpClient
HttpClientPlatformSpecific
HttpClientPlatformSpecificImpl
HttpRequest
HttpRequest
Builder1
Builder2
HttpResponse
HttpResponse
Result
JsClient
JsClient
JsResponseResult
ResponseOps
harness-http-client
/
harness.http.client
/
HttpRequest
/
Builder2
Builder2
harness.http.client.HttpRequest$.Builder2
final
class
Builder2
(
method
:
HttpMethod
,
url
:
String
,
queryParams
:
Map
[
String
,
String
],
headers
:
Map
[
String
,
List
[
String
]])
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
Builder2
Clear all
Members list
Concise view
Value members
Concrete methods
def
addHeader
(
key
:
String
,
value
:
String
):
Builder2
inline
def
addHeaderEncoded
[
A
](
key
:
String
,
value
:
A
)(
using
evidence$3
:
StringEncoder
[
A
]):
Builder2
def
withBody
[
B
](
body
:
B
):
HttpRequest
[
B
]
inline
def
withBodyEncoded
[
B
](
body
:
B
)(
using
evidence$4
:
StringEncoder
[
B
]):
HttpRequest
[
String
]
inline
def
withBodyJsonEncoded
[
B
](
body
:
B
)(
using
evidence$5
:
JsonEncoder
[
B
]):
HttpRequest
[
String
]
def
withHeader
(
key
:
String
,
value
:
String
):
Builder2
inline
def
withHeaderEncoded
[
A
](
key
:
String
,
value
:
A
)(
using
evidence$2
:
StringEncoder
[
A
]):
Builder2
def
withNoBody
:
HttpRequest
[
Nothing
]
def
withQueryParam
(
key
:
String
,
value
:
String
):
Builder2
inline
def
withQueryParamEncoded
[
A
](
key
:
String
,
value
:
A
)(
using
evidence$1
:
StringEncoder
[
A
]):
Builder2
def
withStringBody
(
body
:
String
):
HttpRequest
[
String
]