Class ConnectionFactory
通信に関するオブジェクトを生成するためのファクトリークラス
Inherited Members
Namespace: VRoidSDK.Networking
Assembly: VRoidSDK.dll
Syntax
public class ConnectionFactory
Methods
CreateHttpConnection(IHttpUrl, HTTPMethods, IHttpParam, HttpHeader)
Http通信を行う通信オブジェクトを作成する
Declaration
public static IHttpConnection CreateHttpConnection(IHttpUrl url, HTTPMethods methods, IHttpParam param = null, HttpHeader header = null)
Parameters
Type | Name | Description |
---|---|---|
IHttpUrl | url | リクエスト先 |
HTTPMethods | methods | 通信メソッド |
IHttpParam | param | リクエストパラメータ (オプション) |
HttpHeader | header | リクエストヘッダ (オプション) |
Returns
Type | Description |
---|---|
IHttpConnection | HTTP接続オブジェクト |