类 Http2Connection.Builder
java.lang.Object
com.lark.oapi.okhttp.internal.http2.Http2Connection.Builder
- 封闭类:
Http2Connection
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()listener(Http2Connection.Listener listener) pingIntervalMillis(int pingIntervalMillis) pushObserver(PushObserver pushObserver) socket(Socket socket, String connectionName, BufferedSource source, BufferedSink sink)
-
构造器详细资料
-
Builder
public Builder(boolean client) - 参数:
client- true if this peer initiated the connection; false if this peer accepted the connection.
-
-
方法详细资料
-
socket
- 抛出:
IOException
-
socket
public Http2Connection.Builder socket(Socket socket, String connectionName, BufferedSource source, BufferedSink sink) -
listener
-
pushObserver
-
pingIntervalMillis
-
build
-