- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RtmSession (0.15 sec)
-
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
import okhttp3.Response; import okhttp3.WebSocketListener; /** A realtime messaging session. */ public final class RtmSession extends WebSocketListener implements Closeable { private final SlackApi slackApi; /** Guarded by this. */ private WebSocket webSocket; public RtmSession(SlackApi slackApi) { this.slackApi = slackApi; } public void open(String accessToken) throws IOException {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
public void startRtm() throws IOException { String accessToken; synchronized (this) { accessToken = session.access_token; } RtmSession rtmSession = new RtmSession(slackApi); rtmSession.open(accessToken); } public static void main(String... args) throws Exception { String clientId = "0000000000.00000000000"; String clientSecret = "00000000000000000000000000000000";
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0)