Slug Property

A header added to the HTTP request.

Syntax

ANSI (Cross Platform)
char* GetSlug();
int SetSlug(const char* lpszSlug); Unicode (Windows) LPWSTR GetSlug();
INT SetSlug(LPCWSTR lpszSlug);
@property (nonatomic,readwrite,assign,getter=slug,setter=setSlug:) NSString* slug;
- (NSString*)slug;
- (void)setSlug:(NSString*)newSlug;
#define PID_ATOM_SLUG 100

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

Default Value

""

Remarks

This property requests that the server use the header's value as part of any URLs that it would normally generate when creating the Entry or Media resources. Some servers ignore this header.

Data Type

String

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