public class HttpParserKt
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
parseHeaders(kotlinx.coroutines.io.ByteReadChannel input,
kotlin.coroutines.experimental.Continuation<? super io.ktor.http.cio.HttpHeadersMap> p)
Parse http headers. Not applicable to request and response status lines.
|
static java.lang.Object |
parseRequest(kotlinx.coroutines.io.ByteReadChannel input,
kotlin.coroutines.experimental.Continuation<? super io.ktor.http.cio.Request> p)
Parse an HTTP request line and headers
|
static java.lang.Object |
parseResponse(kotlinx.coroutines.io.ByteReadChannel input,
kotlin.coroutines.experimental.Continuation<? super io.ktor.http.cio.Response> p)
Parse an HTTP response status line and headers
|
public static java.lang.Object parseRequest(kotlinx.coroutines.io.ByteReadChannel input,
kotlin.coroutines.experimental.Continuation<? super io.ktor.http.cio.Request> p)
Parse an HTTP request line and headers
public static java.lang.Object parseResponse(kotlinx.coroutines.io.ByteReadChannel input,
kotlin.coroutines.experimental.Continuation<? super io.ktor.http.cio.Response> p)
Parse an HTTP response status line and headers
public static java.lang.Object parseHeaders(kotlinx.coroutines.io.ByteReadChannel input,
kotlin.coroutines.experimental.Continuation<? super io.ktor.http.cio.HttpHeadersMap> p)
Parse http headers. Not applicable to request and response status lines.