kotlin-client.infrastructure.PartConfig.kt.mustache Maven / Gradle / Ivy
package {{packageName}}.infrastructure
/**
* Defines a config object for a given part of a multi-part request.
* NOTE: Headers is a Map because rfc2616 defines
* multi-valued headers as csv-only.
*/
{{#nonPublicApi}}internal {{/nonPublicApi}}{{^nonPublicApi}}{{#explicitApi}}public {{/explicitApi}}{{/nonPublicApi}}data class PartConfig(
val headers: MutableMap = mutableMapOf(),
val body: T? = null
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy