Show / Hide Table of Contents

Class HttpClientDriver

IHttpConnectionを作成するファクトリ

Inheritance
Object
HttpClientDriver
Implements
IHttpConnectionDriver
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Pixiv.VroidSdk.Networking.Drivers
Assembly: Pixiv.VroidSdk.dll
Syntax
public sealed class HttpClientDriver : IHttpConnectionDriver

Constructors

HttpClientDriver(SynchronizationContext)

コンストラクタ

Declaration
public HttpClientDriver(SynchronizationContext context)
Parameters
Type Name Description
SynchronizationContext context

コールバックに使用するSynchronizationContext

Methods

Create(IHttpUrl, IHttpHeader, Int64)

IHttpConnectionを作成する

Declaration
public IHttpConnection Create(IHttpUrl url, IHttpHeader header = null, long timeout = 30L)
Parameters
Type Name Description
IHttpUrl url

接続先URL

IHttpHeader header

リクエストヘッダ

Int64 timeout

タイムアウト(秒)、デフォルトは30秒。

Returns
Type Description
IHttpConnection

指定したHTTP接続を行うIHttpConnection

Implements

IHttpConnectionDriver
In This Article
Back to top Generated by DocFX