Show / Hide Table of Contents

Class S3V4HttpHelpers

Inheritance
System.Object
S3V4HttpHelpers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.IO.FileSystem.S3.V4
Assembly: NFX.Web.dll
Syntax
public static class S3V4HttpHelpers

Methods

ConstructWebRequest(Uri, String, Stream, IDictionary<String, String>, Int32)

Declaration
public static HttpWebRequest ConstructWebRequest(this Uri uri, string method, Stream contentStream, IDictionary<string, string> headers, int timeout = 0)
Parameters
Type Name Description
System.Uri uri
System.String method
System.IO.Stream contentStream
System.Collections.Generic.IDictionary<System.String, System.String> headers
System.Int32 timeout
Returns
Type Description
System.Net.HttpWebRequest

FilterHeaders(IDictionary<String, String>)

Declaration
public static IDictionary<string, string> FilterHeaders(this IDictionary<string, string> headers)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> headers
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

GetHeaders(HttpWebRequest, HttpStatusCode)

Declaration
public static IDictionary<string, string> GetHeaders(this HttpWebRequest request, HttpStatusCode successStatus = HttpStatusCode.OK)
Parameters
Type Name Description
System.Net.HttpWebRequest request
System.Net.HttpStatusCode successStatus
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

GetResponseBytes(HttpWebRequest, Stream)

Declaration
public static void GetResponseBytes(this HttpWebRequest request, Stream stream)
Parameters
Type Name Description
System.Net.HttpWebRequest request
System.IO.Stream stream

GetResponseStr(HttpWebRequest)

Declaration
public static string GetResponseStr(this HttpWebRequest request)
Parameters
Type Name Description
System.Net.HttpWebRequest request
Returns
Type Description
System.String
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX