Http response/ja
From Second Life Wiki
メインページ > Http response > Http response/ja
イベント: http_response( key request_id, integer status, list metadata, string body ){ ; }
タスクがllHTTPRequestのあるレスポンスを受け取ったときに作動します。
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
例key http_request_id; default { state_entry() { http_request_id = llHTTPRequest("url", [], ""); } http_response(key request_id, integer status, list metadata, string body) { if (request_id == http_request_id) { llSetText(body, <0,0,1>, 1); } } } | |||||||||||||||||||||||||||||||||
ノートいずれかの理由でllHTTPRequest/http_responseを使っている間、素晴らしいRSSフィードやいくつかのwebコンテンツのフォームは解析不可能であり、SecondLife外でその作業をする必要があるでしょう。これはシミュレータレベルで更なるオーバヘッドが必要なヘッダをチェックして以来、近い将来に変更することが好ましくないからです。
| |||||||||||||||||||||||||||||||||

