-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
The request/response API that ez-streams inherited from streamline-streams does not play very well with the pipeline. Two problems (at least):
serverResponseis not exactly a writer because encoding is passed in eachwritecall, instead of being configured in the writer. Theendmethod cannot be aligned on the writer API because it is synchronous (so exception handling is out of bounds).- Applying pipeline operations to a request/response does not yield another request/response. Instead, it yields a reader/writer and all the extra request/response API (headers) is lost. For example,
serverRequest.map(someMapper).urldoes not work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels