언어

Proxy.IHttpConnectCallback.OnBeforeRequest 메서드

정의

터널을 설정하기 위해 프록시에 HTTP CONNECT 요청을 보내기 전에 호출됩니다.

[Android.Runtime.Register("onBeforeRequest", "(Landroid/net/http/Proxy$HttpConnectCallback$Request;)V", "GetOnBeforeRequest_Landroid_net_http_Proxy_HttpConnectCallback_Request_Handler:Android.Net.Http.Proxy/IHttpConnectCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void OnBeforeRequest(Android.Net.Http.Proxy.IHttpConnectCallback.Request request);
[<Android.Runtime.Register("onBeforeRequest", "(Landroid/net/http/Proxy$HttpConnectCallback$Request;)V", "GetOnBeforeRequest_Landroid_net_http_Proxy_HttpConnectCallback_Request_Handler:Android.Net.Http.Proxy/IHttpConnectCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member OnBeforeRequest : Android.Net.Http.Proxy.IHttpConnectCallback.Request -> unit

매개 변수

request
Proxy.IHttpConnectCallback.Request

프록시로 전송될 HTTP CONNECT 요청을 나타냅니다. 이 값은 null일 수 없습니다.

특성

설명

터널을 설정하기 위해 프록시에 HTTP CONNECT 요청을 보내기 전에 호출됩니다.

프록시로 보내기 전에 해당 요청을 조작하거나 취소할 수 있습니다. 요청을 조작/취소하는 방법을 알아보려면 요청을 참조하세요.

에 대한 android.net.http.Proxy.HttpConnectCallback.onBeforeRequestAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상