SecureBlackbox 2020 C++ Edition

Questions / Feedback?

DocumentRoot Property

The document root of the server.

Syntax

ANSI (Cross Platform)
char* GetDocumentRoot();
int SetDocumentRoot(const char* lpszDocumentRoot); Unicode (Windows) LPWSTR GetDocumentRoot();
INT SetDocumentRoot(LPCWSTR lpszDocumentRoot);
@property (nonatomic,readwrite,assign,getter=documentRoot,setter=setDocumentRoot:) NSString* documentRoot;
- (NSString*)documentRoot;
- (void)setDocumentRoot:(NSString*)newDocumentRoot;
#define PID_RESTSERVER_DOCUMENTROOT 9

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_RESTServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_RESTServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Use this property to specify a local folder which is going to be the server's document root (the mount point of the virtual home directory).

Data Type

String

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