public interface Connection
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
accept(RsStatus status,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body)
Respond on connection.
|
CompletionStage<Void> accept(RsStatus status, Iterable<Map.Entry<String,String>> headers, org.reactivestreams.Publisher<ByteBuffer> body)
status - The http status code.headers - The http response headers.body - The http response body.Copyright © 2012–2020 jcabi.com. All rights reserved.