Referer Property

Referer URL/document (optional).

Syntax

ANSI (Cross Platform)
char* GetReferer();
int SetReferer(const char* lpszReferer); Unicode (Windows) LPWSTR GetReferer();
INT SetReferer(LPCWSTR lpszReferer);
@property (nonatomic,readwrite,assign,getter=referer,setter=setReferer:) NSString* referer;
- (NSString*)referer;
- (void)setReferer:(NSString*)newReferer;
#define PID_WEBDAV_REFERER 50

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

Default Value

""

Remarks

If this property contains a non-empty string, a Referer HTTP request header is added to the request. The purpose of the header is to show the document referring the requested URL.

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 8161]