toggle menu
ktor
3.0.0
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
switch theme
search in API
ktor-client-core
/
io.ktor.client.request
/
HttpSendPipeline
Http
Send
Pipeline
class
HttpSendPipeline
(
val
developmentMode
:
Boolean
=
true
)
:
Pipeline
<
Any
,
HttpRequestBuilder
>
An
HttpClient
's pipeline used for sending
HttpRequest
to a remote server.
Members
Constructors
Http
Send
Pipeline
Link copied to clipboard
constructor
(
developmentMode
:
Boolean
=
true
)
Types
Phases
Link copied to clipboard
object
Phases
Properties
attributes
Link copied to clipboard
val
attributes
:
Attributes
development
Mode
Link copied to clipboard
open
override
val
developmentMode
:
Boolean
=
true
is
Empty
Link copied to clipboard
val
isEmpty
:
Boolean
items
Link copied to clipboard
val
items
:
List
<
PipelinePhase
>
Functions
add
Phase
Link copied to clipboard
fun
addPhase
(
phase
:
PipelinePhase
)
after
Intercepted
Link copied to clipboard
open
fun
afterIntercepted
(
)
execute
Link copied to clipboard
suspend
fun
execute
(
context
:
HttpRequestBuilder
,
subject
:
Any
)
:
Any
insert
Phase
After
Link copied to clipboard
fun
insertPhaseAfter
(
reference
:
PipelinePhase
,
phase
:
PipelinePhase
)
insert
Phase
Before
Link copied to clipboard
fun
insertPhaseBefore
(
reference
:
PipelinePhase
,
phase
:
PipelinePhase
)
intercept
Link copied to clipboard
fun
intercept
(
phase
:
PipelinePhase
,
block
:
PipelineInterceptor
<
Any
,
HttpRequestBuilder
>
)
interceptors
For
Phase
Link copied to clipboard
fun
interceptorsForPhase
(
phase
:
PipelinePhase
)
:
List
<
PipelineInterceptor
<
Any
,
HttpRequestBuilder
>
>
merge
Link copied to clipboard
fun
merge
(
from
:
Pipeline
<
Any
,
HttpRequestBuilder
>
)
merge
Phases
Link copied to clipboard
fun
mergePhases
(
from
:
Pipeline
<
Any
,
HttpRequestBuilder
>
)
reset
From
Link copied to clipboard
fun
resetFrom
(
from
:
Pipeline
<
Any
,
HttpRequestBuilder
>
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String