forked from aio-libs/aiohttp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit has as a main proposing start a discussion about if this what was expected and clear some of the uncertainties related to the implementation. The following list enumerates each point that could be discussed, asside of the general implementation. 1) Break the `Signal` object to accommodate the old implementation as `AppSignal` having the `Signal` for generic signals 2) Coroutine signals are reserved only for the start, end and exception signals. Others are implemented as `FuncSignals` 3) The final list of signals suported is the ones that are in this commit, however not all of them are implemented yet. Just follow the new `ClienSession` properties that match the `on_*` pattern. 4) Redirects have an own signal `on_request_redirect` that is triggered at each redirect response. 5) There is no a clear way to pass the `Session` and the `trace_context` for the underlying objects used by the `ClientSession`. If you have better ideas please shout it. 7) Signals related to the progress of the upload/download will be implemented at the streamers/protocols
- Loading branch information
Showing
7 changed files
with
310 additions
and
14 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
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
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
Oops, something went wrong.