Skip to content

v2.0.6

Latest
Compare
Choose a tag to compare
@RobertoPrevato RobertoPrevato released this 17 Jan 20:03
· 4 commits to main since this release
  • Adds built-in support for Server-Sent events.
  • Adds a function to detect when the server process is terminating because it received a SIGINT or a SIGTERM command (from blacksheep.server.process import is_stopping).
  • Adds support for request handler normalization for methods defined as asynchronous generators. This feature is enabled by default only for ServerSentEvents, but can be configured for user defined types.
  • Raises exception when the default router is used to register routes, but not associated to an application object. Fixes #470.

Refer to the BlackSheep documentation and to the examples repository for more information on server-sent events support.