CookieSpecBase.Parse(IHeaderElement[], CookieOrigin) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據此規範,解析所提供的 HTTP 標頭中的 cookie。
[Android.Runtime.Register("parse", "([Lorg/apache/http/HeaderElement;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_arrayLorg_apache_http_HeaderElement_Lorg_apache_http_cookie_CookieOrigin_Handler")]
protected virtual System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>? Parse(Org.Apache.Http.IHeaderElement[]? elems, Org.Apache.Http.Cookies.CookieOrigin? origin);
[<Android.Runtime.Register("parse", "([Lorg/apache/http/HeaderElement;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_arrayLorg_apache_http_HeaderElement_Lorg_apache_http_cookie_CookieOrigin_Handler")>]
override this.Parse : Org.Apache.Http.IHeaderElement[] * Org.Apache.Http.Cookies.CookieOrigin -> System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>
參數
- elems
- IHeaderElement[]
這些標頭元素用來建立 Cookie。
- origin
- CookieOrigin
請求的主機、埠、路徑與安全上下文。
傳回
這些 cookie 是從請求來源所提供的標頭元素所建立的。
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。