collie v0.10.16 (2018-08-30T07:51:38Z)
Dub
Repo
ResponseBuilder.withHeaders
collie
codec
http
server
responsebuilder
ResponseBuilder
Add an array of headers to the response.
@param array $headers @return $this
class
ResponseBuilder
ResponseBuilder
withHeaders
(
string
[
string
]
headers
)
Meta
Source
See Implementation
collie
codec
http
server
responsebuilder
ResponseBuilder
constructors
this
functions
clear
connectionClose
header
promise
send
sendWithEOM
setBody
status
withHeaders
properties
bodys
dataHandler
headers
httpMessage
variables
_body
_httpMessage
_txn
Add an array of headers to the response.
@param array $headers @return $this