setRequestType: method

Helper method to store the request type to be instantiated; the builder decides which class (Request or SUPRequest) should be instantiated based on this value.

Syntax

+ ( void ) setRequestType : ( const enum ERequestType ) type_in

Parameters

Example 1

[RequestBuilder setRequestType:HTTPRequestType];