HttpHeadersBuilder
in package
Table of Contents
Methods
- addHeader() : void
- hasHeader() : bool
- removeHeader() : void
- setHeader() : void
- toHeaders() : HttpHeaders
Methods
addHeader()
public
addHeader(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed
hasHeader()
public
hasHeader(string $name) : bool
Parameters
- $name : string
Return values
boolremoveHeader()
public
removeHeader(string $name) : void
Parameters
- $name : string
setHeader()
public
setHeader(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed
toHeaders()
public
toHeaders() : HttpHeaders