public final class WebsocketRpc extends Object
| Constructor and Description |
|---|
WebsocketRpc(String url,
Map<String,String> headers)
Construct the class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
call(io.reactivex.Flowable<Request> requests,
ResultCallback<Response> responseCallback,
java.util.function.Function<String,Boolean> completeCallback)
Do call.
|
void |
call(Request request,
ResultCallback<Response> responseCallback,
java.util.function.Function<String,Boolean> completeCallback)
Do call.
|
protected void |
finalize() |
protected void finalize()
throws Throwable
public void call(io.reactivex.Flowable<Request> requests, ResultCallback<Response> responseCallback, java.util.function.Function<String,Boolean> completeCallback)
responseCallback - The response callback.completeCallback - A Function to identify whether the message has completed (whether to
call onComplete).requests - The iterable input requests.public void call(Request request, ResultCallback<Response> responseCallback, java.util.function.Function<String,Boolean> completeCallback)
request - The input request.responseCallback - The response callback.completeCallback - A Function to identify whether the message has completed (whether to
call onComplete).Copyright © 2023. All rights reserved.