Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTTP_CLIENT_TIME_OUT = 100000 * time.Millisecond MAX_HOLD_CONNECTIONS = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncHttpClient ¶
type AsyncHttpClient struct {
// contains filtered or unexported fields
}
func NewAsyncHttpClient ¶
func NewAsyncHttpClient(conn *connections.Connection) (*AsyncHttpClient, *common.WeCrossSDKError)
func (*AsyncHttpClient) Prepare ¶
func (ac *AsyncHttpClient) Prepare(method, url string, body []byte) (*http.Request, *common.WeCrossSDKError)
func (*AsyncHttpClient) SendRequest ¶
func (ac *AsyncHttpClient) SendRequest(request *http.Request) (*http.Response, *common.WeCrossSDKError)
Click to show internal directories.
Click to hide internal directories.