Difference between revisions of "LlSendRemoteData"

From Second Life Wiki
Jump to navigation Jump to search
 
(Added wiki 'deprecated' tag, asl XML-RPC is to be removed "at some point".)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSLFunctionAll|func_id=255|func_sleep=3.0|func_energy=10.0|func=llSendRemoteData|return_type=key|p1_type=key|p1_name=channel|p2_type=string|p2_name=dest|p3_type=integer|p3_name=idata|p4_type=string|p4_name=sdata|func_footnote=Send an XML-RPC request to dest through channel with payload of channel (in a string), integer idata and string sdata.<br />A message identifier key is returned.<br />An XML-RPC reply will trigger a remote_data event and reference the message id.<br />The message_id is returned.|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func=llSendRemoteData
|sort=SendRemoteData
|func_id=255|func_sleep=3.0|func_energy=10.0
|return_type=key
|p1_type=key|p1_subtype=channel|p1_name=channel
|p2_type=string|p2_name=dest
|p3_type=integer|p3_name=idata
|p4_type=string|p4_name=sdata
|func_footnote
|func_desc=Send an XML-RPC request to {{LSLP|dest}} through channel with payload of {{LSLP|channel}} (in a string), integer {{LSLP|idata}} and string {{LSLP|sdata}}.
|return_text=that is the message_id for the resulting {{LSLG|remote_data}} events.
|spec
|deprecated=LSL_http_server
|caveats
|constants
|examples
|helpers
|also_functions
|also_tests
|also_events
|also_articles
|notes
|cat1=XML-RPC
|cat2
|cat3
|cat4
}}

Latest revision as of 06:19, 24 August 2022

Emblem-important.png Deprecated
(This function has been deprecated, please use LSL_http_server instead.)

Summary

Function: key llSendRemoteData( key channel, string dest, integer idata, string sdata );

Send an XML-RPC request to dest through channel with payload of channel (in a string), integer idata and string sdata.
Returns a key that is the message_id for the resulting remote_data events.

• key channel
• string dest
• integer idata
• string sdata

Caveats

  • This function causes the script to sleep for 3.0 seconds.
  • This function has been deprecated, please use LSL_http_server instead.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function key llSendRemoteData( key channel, string dest, integer idata, string sdata );