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