-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sse_middleware): cleaner interface (req.sse becomes a collection…
… of functions) BREAKING CHANGE: This is a breaking change in the public interface. Also, two interfaces (ISSECapableResponse and ISSEMiddlewareOptions) have been renamed (respectively ISseResponse and and ISseMiddlewareOptions)
- Loading branch information
Showing
3 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { ISSEMiddlewareOptions } from './sse_handler_middleware'; | ||
export { ISseMiddlewareOptions } from './sse_handler_middleware'; | ||
export * from './sse_middleware'; | ||
export { sse as default } from './sse_middleware'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters