com.microsoft.signalr.Transport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalr Show documentation
Show all versions of signalr Show documentation
ASP.NET Core SignalR Client for Java applications
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
package com.microsoft.signalr;
import java.nio.ByteBuffer;
import io.reactivex.rxjava3.core.Completable;
interface Transport {
Completable start(String url);
Completable send(ByteBuffer message);
void setOnReceive(OnReceiveCallBack callback);
void onReceive(ByteBuffer message);
void setOnClose(TransportOnClosedCallback onCloseCallback);
Completable stop();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy