HeaderModifierZIO
zio.http.model.headers.HeaderModifierZIO
Maintains a list of operators that modify the current Headers. Once modified,
a new instance of the same type is returned. So or eg:
request.addHeader("A", "B")
should return a new Request
and similarly
headers.add("A", "B")
should return a new Headers
instance.
NOTE: Add methods here that modify the current headers and returns an instance of the same type.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- Self type
Members list
Concise view
Value members
Abstract methods
Updates the current Headers with new one, using the provided update function passed.
Updates the current Headers with new one, using the provided update function passed.