MBXHttpMethod.h 811 B

1234567891011121314151617
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. */
  4. // NOLINTNEXTLINE(modernize-use-using)
  5. typedef NS_ENUM(NSInteger, MBXHttpMethod)
  6. {
  7. /** The GET method requests a representation of the specified resource. Requests using GET should only retrieve data. */
  8. MBXHttpMethodGet,
  9. /** The HEAD method asks for a response identical to that of a GET request, but without the response body. */
  10. MBXHttpMethodHead,
  11. /** The POST method sends data (stored in the request body) to a server to create or update a given resource. */
  12. MBXHttpMethodPost
  13. } NS_SWIFT_NAME(HttpMethod);
  14. NSString* MBXHttpMethodToString(MBXHttpMethod http_method);