Skip to content

Instance Method

set(_:to:)

Adds a new parameter value to the bag.
mutating func set(_ name: String, to value: String?)

Parameters

name

Unique parameter name

value

Value (percent-encoded if necessary)

Discussion

Note

The value will be percent-decoded.