erikras / erikras/react-redux-universal-hot-example
Not able to access req inside the ApiClient
Open
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
When I am sending out requests using the ApiClient I will have to set the request header based on the cookie values.
In line 18 of client.js you do
```
const client = new ApiClient();
```
So the `req` property of an `ApiClient` object is empty. Which means the request cookie or header info cannot be retrieve this way.
So is there a way to get around this problem?
Contributor guide
Assessment
This issue has not been assessed yet.