llGetFreeURLs

From Second Life Wiki
Jump to navigation Jump to search

Summary

Function: integer llGetFreeURLs( );

Returns an integer that is the number of available URLs.

Examples

This script will say the number of HTTP-In URLs Available <LSL> // Developed by: Pavcules Superior // Developed on: December 2009 default {

   state_entry()
   {
       integer freeurls = llGetFreeURLs();
   
       if(freeurls > 0)
       {
           llOwnerSay( "There are " + (string)freeurls + " Available HTTP-In URLs"  );
       }
       else
       {
           llOwnerSay("WARNING: There is no available HTTP-In URLs that can be used.");
       }
   }

}

</LSL>

See Also

Functions

•  llRequestURL
•  llRequestSecureURL
•  llReleaseURL
•  llHTTPResponse
•  llGetHTTPHeader

Articles

•  LSL http server

Deep Notes

History

Search JIRA for related Issues

Signature

function integer llGetFreeURLs();