Vapor Documentation Beta

Structure HTTPHeaders.​Forwarded

public struct Forwarded

Parses the Forwarded header.

Initializers

init(by:​for:​host:​proto:​)

public init(by: String? = nil, for: String? = nil, host: String? = nil, proto: String? = nil)

Properties

by

var by: String?

"by" section of the header.

`for`

var `for`: String?

"for" section of the header

host

var host: String?

"host" section of the header

proto

var proto: String?

"proto" section of the header.