FormDataContentPlain

class FormDataContentPlain(formData: Parameters) : OutgoingContent.ByteArrayContent(source)

Our implementation of ktor's FormDataContent, but with contentType without charset appended, so that some strict mDoc verifiers accept our authn response

Constructors

Link copied to clipboard
constructor(formData: Parameters)

Types

Link copied to clipboard
abstract class ByteArrayContent : OutgoingContent
Link copied to clipboard
abstract class ContentWrapper(delegate: OutgoingContent) : OutgoingContent
Link copied to clipboard
abstract class NoContent : OutgoingContent
Link copied to clipboard
abstract class ProtocolUpgrade : OutgoingContent
Link copied to clipboard
abstract class ReadChannelContent : OutgoingContent
Link copied to clipboard
abstract class WriteChannelContent : 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 val headers: Headers
Link copied to clipboard
open val status: HttpStatusCode?

Functions

Link copied to clipboard
open override fun bytes(): ByteArray
Link copied to clipboard
open fun <T : Any> getProperty(key: AttributeKey<T>): T?
Link copied to clipboard
open fun <T : Any> setProperty(key: AttributeKey<T>, value: T?)
Link copied to clipboard
open fun trailers(): Headers?