| Modifier and Type | Class and Description |
|---|---|
static interface |
WebSocketReader.FrameCallback |
| Constructor and Description |
|---|
WebSocketReader(boolean isClient,
okio.BufferedSource source,
WebSocketReader.FrameCallback frameCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
processNextFrame()
Process the next protocol frame.
|
public WebSocketReader(boolean isClient,
okio.BufferedSource source,
WebSocketReader.FrameCallback frameCallback)
public void processNextFrame()
throws IOException
WebSocketReader.FrameCallback.WebSocketReader.FrameCallback.onMessage(com.squareup.okhttp.ResponseBody). If the message spans multiple frames, each interleaved control
frame will result in a corresponding call to WebSocketReader.FrameCallback.
IOExceptionCopyright © 2017. All Rights Reserved.