|
getrequest()
Returns the spyro's request dictionary that rules the current
thread or shttp.http request. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
webmethod(httpreq,
environment,
method,
returntype=' text/plain ' ) |
source code
|
|
|
getcookiespyroauth(authcookiename,
environment) |
source code
|
|
|
webspyro(spyroserver,
httpreq,
environment,
returntype=' text/plain ' ,
authcookiename=' SPyRO_AuthMethod ' ) |
source code
|
|
|
httpcall(realhandler,
returntype=' text/plain ' )
Creates a lexical closure to execute a function with query_string
and post requests as function arguments |realhandler| The handler of
the call |returntype| The return type of the function to be placed as
Content-Type header |
source code
|
|
|
httpcallspyro(spyroserver,
returntype=' text/plain ' ,
authcookiename=' SPyRO_AuthMethod ' )
Creates a lexical closure to execute a function with
query_string and post requests as function arguments
|spyroserver| The SPyRO server to the call
If the proper authorization policies aren't disabled (policy 'can_follow_objname'):
/SPyRO/Chart/Bar/Draw
/SPyRO -> Registered URL base to spyroserver
/Chart -> Object
/Bar -> A property of /Chart
/Draw -> A method of /Bar
|returntype| The return type of the function to be placed as
Content-Type header
Note: If httpcall is used as decorator the declared function
will be replaced, use regcall of http object as decorator. |
source code
|
|