encode

fun encode(parameters: Parameters?): Headers

Expand and encode parameters as headers.

Encoding first expands collections and then encodes each into its own header entry.