DefaultConnectionReuseStrategy.KeepAlive(IHttpResponse, IHttpContext) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
応答後も接続を開いたままにできるかどうかを判断します。
[Android.Runtime.Register("keepAlive", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Z", "GetKeepAlive_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")]
public virtual bool KeepAlive(Org.Apache.Http.IHttpResponse? response, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("keepAlive", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)Z", "GetKeepAlive_Lorg_apache_http_HttpResponse_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member KeepAlive : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> bool
override this.KeepAlive : Org.Apache.Http.IHttpResponse * Org.Apache.Http.Protocol.IHttpContext -> bool
パラメーター
- response
- IHttpResponse
処理する HTTP 応答。
- context
- IHttpContext
操作に関連付けられている HTTP コンテキスト。
返品
接続を再利用できる場合は true。それ以外の場合は false。
実装
- 属性
注釈
このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。