You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rik...@googlegroups.com
In the upcoming Rikulo Stream 0.7, the interface between the server and the handlers are changed to simplify the chaining of request handling and error handling:
The request handler must return `Future` if it spawned an asynchronous task.
The request filter must return `Future`.
The request handler can't return a forwarding URI. Rather, it shall invoke and return `connect.forward(uri)` instead.
The request handler needs not to close the connection. It is done automatically. In fact, there is no way to close it manually.
RSP will import `dart:async` by default.
The `close`, `onClose` and `onError` methods of `HttpConnect` are removed. Chaining request handlers is straightforward: it is the same as chaining `Future` objects.
Remember to read the Request Handling section again when 0.7 is released. There will be more detailed description.