ServiceStack.HttpUtils.PutBytesToUrl C# (CSharp) Méthode

PutBytesToUrl() public static méthode

public static PutBytesToUrl ( this url, byte requestBody = null, string contentType = null, string accept = "*/*", Action requestFilter = null, Action responseFilter = null ) : byte[]
url this
requestBody byte
contentType string
accept string
requestFilter Action
responseFilter Action
Résultat byte[]
        public static byte[] PutBytesToUrl(this string url, byte[] requestBody = null, string contentType = null, string accept = "*/*",
            Action<HttpWebRequest> requestFilter = null, Action<HttpWebResponse> responseFilter = null)
        {
            return SendBytesToUrl(url, method: "PUT",
                contentType: contentType, requestBody: requestBody,
                accept: accept, requestFilter: requestFilter, responseFilter: responseFilter);
        }