类的使用
io.agentscope.core.model.transport.HttpTransportConfig
使用HttpTransportConfig的程序包
-
io.agentscope.core.model.transport中HttpTransportConfig的使用
修饰符和类型方法说明HttpTransportConfig.Builder.build()Build the HttpTransportConfig.static HttpTransportConfigHttpTransportConfig.defaults()Create a default configuration.OkHttpTransport.getConfig()Get the transport configuration.修饰符和类型方法说明JdkHttpTransport.Builder.config(HttpTransportConfig config) Set the transport configuration.OkHttpTransport.Builder.config(HttpTransportConfig config) Set the transport configuration.限定符构造器说明JdkHttpTransport(HttpClient client, HttpTransportConfig config) Create a new JdkHttpTransport with an existing HttpClient.OkHttpTransport(HttpTransportConfig config) Create a new OkHttpTransport with custom configuration.OkHttpTransport(okhttp3.OkHttpClient client, HttpTransportConfig config) Create a new OkHttpTransport with an existing OkHttpClient.