HttpModule async registration
See original GitHub issueI’m submitting a…
[ ] Regression
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
HttpModule dont have async registration because of this, it is not possible to set config variables.
Expected behavior
Async module registation with the possibility of inject dependencies through inject
Minimal reproduction of the problem with instructions
imports: [
HttpModule.register({
baseURL: 'http://example.com',
headers: {
authorization: `Bearer ${configService.get('AUTH_TOKEN')}`,
}
})
]
What is the motivation / use case for changing the behavior?
More convenient use of the module
Environment
Nest version: 5.1.0
For Tooling issues:
- Node version: 10.11.0
- Platform: Windows
Others:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Writing asynchronous HTTP Module in ASP.NET 4.5
Today again, I am going to discuss , one of the new features that got enhanced in ASP.NET 4.5. And It is Asynchronous...
Read more >How to import a registerAsync in a dynamic Nestjs module?
But my question is, that if I use the registerAsync method, and my dynamic module needs to import HttpModule, and HttpModule's register-options ...
Read more >Learn About Asynchronous HTTP Modules and ... - CodeGuru
In this article I will explain about the advantages of introducing asynchrony on the HTTP Pipeline and creating them in Asp.Net 4.5. A ......
Read more >Implementing async HTTP modules in ASP.NET using TPL's ...
NET's HTTP modules are used to implementing the synchronous pipeline APIs (events such as BeginRequest, AuthenticateRequest, EndRequest, etc.).
Read more >HTTP module | NestJS - A progressive Node.js framework
Nest wraps Axios and exposes it via the built-in HttpModule . ... most dynamic modules, Nest provides several techniques to deal with async...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Added in 5.5.0.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.