Public Class Methods : SstHttpServer
at: urlString path: directoryPath
"ACTION
Create and answer a server, which takes requests from the endpoint given
by @urlString. Associate a file servlet as the default servlet serving files from
the directory structure rooted by @directoryPath. For example:
(self at: 'http://:80' path: '.') startUp
A hostname can be explicitly mentioned to cause the server to only serve
pages from that interface.
PARAMETERS
urlString : <String> | <IuSstUrl>
directoryPath : <String>
RETURN VALUE
<instance of self>
NOTES
@directoryPath should not have a trailing directory delimiter as this can
cause file-retrieval problems on certain platforms."
Categories
SST-API User
[FIRST] [PREV] [NEXT] [LAST]