newspeoplefor developersdocumentationdownloads

nHttpServer Script Interface

nhttpserver:

Super Class:

C++ Class:

Info

A Nebula2 server object which implements a simple http client.

Commands:


connect

Command Input:
s(ServerName)
Command Output:
b(Success)
Command Description:
Connect to a http server.

disconnect

Command Input:
v
Command Output:
v
Command Description:
Disconnect from http server.

isconnected

Command Input:
v
Command Output:
b
Command Description:
Return true if currently connected to a http server.

get

Command Input:
s(HttpPath)
Command Output:
b(Success), s(Result)
Command Description:
Issue a GET request and return the result.

post

Command Input:
s(HttpPath), s(PostData)
Command Output:
b(Success), s(Result)
Command Description:
Issue a POST request and return the result.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.