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".)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func=llSendRemoteData
|sort=SendRemoteData
|func_id=255|func_sleep=3.0|func_energy=10.0
|func_id=255|func_sleep=3.0|func_energy=10.0
|func=llSendRemoteData|sort=SendRemoteData
|return_type=key
|return_type=key
|p1_type=key|p1_name=channel
|p1_type=key|p1_subtype=channel|p1_name=channel
|p2_type=string|p2_name=dest
|p2_type=string|p2_name=dest
|p3_type=integer|p3_name=idata
|p3_type=integer|p3_name=idata
|p4_type=string|p4_name=sdata
|p4_type=string|p4_name=sdata
|func_footnote
|func_footnote
|func_desc=Send an XML-RPC request to '''dest''' through channel with payload of '''channel''' (in a string), integer '''idata''' and string '''sdata'''.
|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.
|return_text=that is the message_id for the resulting {{LSLG|remote_data}} events.
|spec
|spec
|deprecated=LSL_http_server
|caveats
|caveats
|constants
|constants

Latest revision as of 05: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 );
3.0 Forced Delay
10.0 Energy

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.

Examples

Deep Notes

Signature

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