类的使用
io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
使用WebSocketRequest.Builder的程序包
-
io.agentscope.core.model.transport.websocket中WebSocketRequest.Builder的使用
修饰符和类型方法说明static WebSocketRequest.BuilderCreate a new builder with the specified URL.WebSocketRequest.Builder.connectTimeout(Duration timeout) Set the connection timeout.Add a header.Add multiple headers.