set_method ( $method )

Set the method type for the request.

Access

public

Parameters

Parameter

Type

Required

Description

$method

string

Required

One of the following constants: HTTP_GET, HTTP_POST, HTTP_PUT, HTTP_HEAD, HTTP_DELETE.

Returns

Type

Description

$this

A reference to the current instance.

Source

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback