sfmcsdk / com.salesforce.marketingcloud.sfmcsdk.components.http / Request / Builder

Builder

class Builder

Constructors

<init>

Builder()

Functions

addOrReplaceHeader

fun addOrReplaceHeader(key: String, value: String): <ERROR CLASS>

build

fun build(): Request

connectionTimeout

fun connectionTimeout(connectionTimeout: Int): <ERROR CLASS>

headers

fun headers(headers: List<String>): <ERROR CLASS>

method

fun method(method: String): <ERROR CLASS>

name

fun name(name: String): <ERROR CLASS>

rateLimit

fun rateLimit(seconds: Long): <ERROR CLASS>

requestBody

fun requestBody(requestBody: String?): <ERROR CLASS>

tag

fun tag(tag: String?): <ERROR CLASS>

url

fun url(url: String): <ERROR CLASS>
fun url(baseUrl: String, path: String): <ERROR CLASS>