HTTPMethod Property

The HTTP method used for the request.

Syntax

ANSI (Cross Platform)
char* GetHTTPMethod();
int SetHTTPMethod(const char* lpszHTTPMethod); Unicode (Windows) LPWSTR GetHTTPMethod();
INT SetHTTPMethod(LPCWSTR lpszHTTPMethod);
@property (nonatomic,readwrite,assign,getter=HTTPMethod,setter=setHTTPMethod:) NSString* HTTPMethod;
- (NSString*)HTTPMethod;
- (void)setHTTPMethod:(NSString*)newHTTPMethod;
#define PID_REST_HTTPMETHOD 22

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_REST_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_REST_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the HTTP method used for the request. If an empty string is provided, the HTTPMethod is determined automatically by the method being called. You may change it to a custom value if you require an HTTP method other than what is provided by the class.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]