語言

IHttpServerConnectionExtensions.SendResponseHeaderAsync 方法

定義

在執行緒池執行緒上執行連線的回應標頭發送操作。

public static System.Threading.Tasks.Task SendResponseHeaderAsync(this Org.Apache.Http.IHttpServerConnection self, Org.Apache.Http.IHttpResponse? response);
static member SendResponseHeaderAsync : Org.Apache.Http.IHttpServerConnection * Org.Apache.Http.IHttpResponse -> System.Threading.Tasks.Task

參數

self
IHttpServerConnection

傳送回應狀態列與標頭的伺服器連線。

response
IHttpResponse

傳送狀態列與標頭的回應。

傳回

當回應標頭操作完成時完成的任務。 此操作不會傳送該實體。

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於