OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetContentType C# (CSharp) Method

osSetContentType() public method

Sets the response type for an HTTP request/response
public osSetContentType ( OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString id, string type ) : void
id OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString
type string
return void
        public void osSetContentType(LSL_Key id, string type)
        {
            CheckThreatLevel(ThreatLevel.High, "osSetContentType");

            if (m_UrlModule != null)
                m_UrlModule.HttpContentType(new UUID(id),type);
        }
OSSL_Api