类的使用
io.agentscope.core.model.transport.HttpRequest.Builder
使用HttpRequest.Builder的程序包
-
io.agentscope.core.model.transport中HttpRequest.Builder的使用
修饰符和类型方法说明Set the request body.static HttpRequest.BuilderHttpRequest.builder()Create a new builder for HttpRequest.Add a header to the request.Add multiple headers to the request.Set the HTTP method.Set the request URL.