JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
C
E
N
O
S
V
W
C
cancel()
- Method in class com.squareup.okhttp.ws.
WebSocketCall
Cancels the request, if possible.
close(int, String)
- Method in interface com.squareup.okhttp.ws.
WebSocket
Send a close frame to the server.
com.squareup.okhttp.ws
- package com.squareup.okhttp.ws
create(OkHttpClient, Request)
- Static method in class com.squareup.okhttp.ws.
WebSocketCall
Prepares the
request
to create a web socket at some point in the future.
E
enqueue(WebSocketListener)
- Method in class com.squareup.okhttp.ws.
WebSocketCall
Schedules the request to be executed at some point in the future.
N
newMessageSink(WebSocket.PayloadType)
- Method in interface com.squareup.okhttp.ws.
WebSocket
Stream a message payload to the server of the specified {code type}.
O
onClose(int, String)
- Method in interface com.squareup.okhttp.ws.
WebSocketListener
Called when the server sends a close message.
onFailure(IOException, Response)
- Method in interface com.squareup.okhttp.ws.
WebSocketListener
Called when the transport or protocol layer of this web socket errors during communication.
onMessage(BufferedSource, WebSocket.PayloadType)
- Method in interface com.squareup.okhttp.ws.
WebSocketListener
Called when a server message is received.
onOpen(WebSocket, Response)
- Method in interface com.squareup.okhttp.ws.
WebSocketListener
Called when the request has successfully been upgraded to a web socket.
onPong(Buffer)
- Method in interface com.squareup.okhttp.ws.
WebSocketListener
Called when a server pong is received.
S
sendMessage(WebSocket.PayloadType, Buffer)
- Method in interface com.squareup.okhttp.ws.
WebSocket
Send a message payload to the server of the specified
type
.
sendPing(Buffer)
- Method in interface com.squareup.okhttp.ws.
WebSocket
Send a ping to the server with optional payload.
V
valueOf(String)
- Static method in enum com.squareup.okhttp.ws.
WebSocket.PayloadType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.squareup.okhttp.ws.
WebSocket.PayloadType
Returns an array containing the constants of this enum type, in the order they are declared.
W
WebSocket
- Interface in
com.squareup.okhttp.ws
Blocking interface to connect and write to a web socket.
WebSocket.PayloadType
- Enum in
com.squareup.okhttp.ws
The format of a message payload.
WebSocketCall
- Class in
com.squareup.okhttp.ws
WebSocketListener
- Interface in
com.squareup.okhttp.ws
Listener for server-initiated messages on a connected
WebSocket
.
C
E
N
O
S
V
W
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2015. All Rights Reserved.