Interface IHttpConnectionDriver
Factory to create IHttpConnection
Namespace: Pixiv.VroidSdk.Networking.Drivers
Assembly: Pixiv.VroidSdk.dll
Syntax
public interface IHttpConnectionDriver
Methods
Create(IHttpUrl, IHttpHeader, Int64)
Create IHttpConnection
Declaration
IHttpConnection Create(IHttpUrl url, IHttpHeader header = null, long timeout = 30L)
Parameters
Type | Name | Description |
---|---|---|
IHttpUrl | url | Connection destination URL |
IHttpHeader | header | Request header |
Int64 | timeout | Timeout (seconds), default is 30 seconds |
Returns
Type | Description |
---|---|
IHttpConnection | IHttpConnection that carries out specified HTTP connection |