You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HttpClientRequest does not use Observable source for its content. The intent of this was to retain the ability to put back pressure when the need arises.
Since, an Observable source did not initially provide a way to put back pressure, this approach was chosen initially.
RxJava is going to provide back pressure support with the regular Observable as discussed in this issue. This is a more flexible solution (specifically when the source is actually an Observable, eg: for proxies) than the current ContentSource abstraction.
Since, the back pressure support in RxJava can be used with regular Observables it is safe now to replace ContentSource with Observable and later adopt back pressure in rxnetty.
The text was updated successfully, but these errors were encountered:
- Modified HttpClientRequest to take an Observable for content instead of the earlier ContentSource.
- Retained the capability to use an Observable<S> where S != type of the HttpClientRequest. This mode requires passing a function that converts S to ByteBuf.
- Removed the RepeatableRequest functionality as it is not required. Re-subscribing to the content observable should replay the source.
HttpClientRequest
does not useObservable
source for its content. The intent of this was to retain the ability to put back pressure when the need arises.Since, an
Observable
source did not initially provide a way to put back pressure, this approach was chosen initially.RxJava is going to provide back pressure support with the regular
Observable
as discussed in this issue. This is a more flexible solution (specifically when the source is actually an Observable, eg: for proxies) than the currentContentSource
abstraction.Since, the back pressure support in RxJava can be used with regular
Observables
it is safe now to replaceContentSource
withObservable
and later adopt back pressure in rxnetty.The text was updated successfully, but these errors were encountered: