ServiceStack.Text.WebRequestExtensions.PutStringToUrl C# (CSharp) Méthode

PutStringToUrl() public static méthode

public static PutStringToUrl ( this url, string requestBody = null, string contentType = null, string acceptContentType = "*/*", Action requestFilter = null, Action responseFilter = null ) : string
url this
requestBody string
contentType string
acceptContentType string
requestFilter Action
responseFilter Action
Résultat string
        public static string PutStringToUrl(this string url, string requestBody = null,
            string contentType = null, string acceptContentType = "*/*",
            Action<HttpWebRequest> requestFilter = null, Action<HttpWebResponse> responseFilter = null)
        {
            return SendStringToUrl(url, method: "PUT",
                requestBody: requestBody, contentType: contentType,
                acceptContentType: acceptContentType, requestFilter: requestFilter, responseFilter: responseFilter);
        }