Response headers support

#16 · open · 0 comments

View on GitHub ↗

kingRayhan

## Description Add a method to set arbitrary response headers. ## Proposed API ```php return $response ->withHeader('X-Request-Id', $id) ->withHeader('Cache-Control', 'no-cache') ->withJSON($data); ``` ## Priority Medium

Comments