Modifier and Type | Method and Description |
---|---|
Protocol |
getProtocol()
The protocol as selected using ALPN.
|
FrameReader |
newReader(okio.BufferedSource source,
boolean client) |
FrameWriter |
newWriter(okio.BufferedSink sink,
boolean client) |
Protocol getProtocol()
FrameReader newReader(okio.BufferedSource source, boolean client)
client
- true if this is the HTTP client's reader, reading frames from a server.FrameWriter newWriter(okio.BufferedSink sink, boolean client)
client
- true if this is the HTTP client's writer, writing frames to a server.Copyright © 2016. All rights reserved.