Stratosphere.Block.S3.S3Service.CreateRequest C# (CSharp) Method

CreateRequest() public method

public CreateRequest ( string method ) : WebRequest
method string
return System.Net.WebRequest
        public WebRequest CreateRequest(string method)
        {
            return CreateRequest(method, string.Empty);
        }

Same methods

S3Service::CreateRequest ( string method, string containerName ) : WebRequest
S3Service::CreateRequest ( string method, string containerName, string query, string blockName ) : WebRequest
S3Service::CreateRequest ( string method, string containerName, string query, string blockName, string contentMD5, string contentType ) : WebRequest
S3Service::CreateRequest ( string method, string containerName, string query, string blockName, string contentMD5, string contentType, string>.IEnumerable headers, Action action ) : WebRequest

Usage Example

Example #1
0
        public static S3Container Create(string serviceId, string serviceSecret, string name)
        {
            S3Service service = new S3Service(serviceId, serviceSecret);

            GetResponse(service.CreateRequest(PutMethod, name));
            return(new S3Container(service, name, DateTime.MinValue));
        }
All Usage Examples Of Stratosphere.Block.S3.S3Service::CreateRequest