SSEClientContent

class SSEClientContent(val reconnectionTime: Duration, val showCommentEvents: Boolean, val showRetryEvents: Boolean, requestBody: OutgoingContent) : OutgoingContent.ContentWrapper

Constructors

Link copied to clipboard
constructor(reconnectionTime: Duration, showCommentEvents: Boolean, showRetryEvents: Boolean, requestBody: OutgoingContent)

Properties

Link copied to clipboard
open override val contentLength: Long?
Link copied to clipboard
open override val contentType: ContentType?
Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val status: HttpStatusCode?

Functions

Link copied to clipboard
open override fun copy(delegate: OutgoingContent): SSEClientContent
Link copied to clipboard
Link copied to clipboard
open override fun <T : Any> getProperty(key: AttributeKey<T>): T?
Link copied to clipboard
open override fun <T : Any> setProperty(key: AttributeKey<T>, value: T?)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun trailers(): Headers?
Link copied to clipboard

Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block.