public void DeregisterCaps() { m_service.RemoveStreamHandler("UpdateAgentLanguage", "POST"); m_service.RemoveStreamHandler("UpdateAgentInformation", "POST"); m_service.RemoveStreamHandler("AvatarPickerSearch", "GET"); m_service.RemoveStreamHandler("HomeLocation", "POST"); m_service.RemoveStreamHandler("TeleportLocation", "POST"); }
public void DeregisterCaps() { if (m_service == null) { return; //If display names aren't enabled } m_service.RemoveStreamHandler("SetDisplayName", "POST"); m_service.RemoveStreamHandler("GetDisplayNames", "GET"); }
/// <summary> /// /// </summary> /// <param name="data"></param> /// <param name="path"></param> /// <param name="param"></param> /// <returns></returns> public byte[] uploaderCaps(string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse) { handlerUpLoad = OnUpLoad; UUID newAssetID; handlerUpLoad(HttpServerHandlerHelpers.ReadFully(request), out newAssetID); OSDMap map = new OSDMap(); map["new_asset"] = newAssetID.ToString(); map["item_id"] = UUID.Zero; map["state"] = "complete"; clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath); return(OSDParser.SerializeLLSDXmlBytes(map)); }
/// <summary> /// /// </summary> /// <param name="data"></param> /// <param name="path"></param> /// <param name="param"></param> /// <returns></returns> public string uploaderCaps(byte[] data, string path, string param) { UUID inv = inventoryItemID; string res = String.Empty; OSDMap map = new OSDMap(); map["new_asset"] = newAssetID.ToString(); map["new_inventory_item"] = inv; map["state"] = "complete"; res = OSDParser.SerializeLLSDXmlString(map); clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath); m_invCaps.UploadCompleteHandler(m_assetName, m_assetDes, newAssetID, inv, parentFolder, data, m_invType, m_assetType); return(res); }
/// <summary> /// /// </summary> /// <param name="data"></param> /// <param name="path"></param> /// <param name="param"></param> /// <returns></returns> public string uploaderCaps(byte[] data, string path, string param) { handlerUpLoad = OnUpLoad; UUID newAssetID; handlerUpLoad(data, out newAssetID); string res = String.Empty; OSDMap map = new OSDMap(); map["new_asset"] = newAssetID.ToString(); map["item_id"] = UUID.Zero; map["state"] = "complete"; res = OSDParser.SerializeLLSDXmlString(map); clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath); return(res); }
///<summary> ///</summary> ///<param name = "data"></param> ///<param name = "path"></param> ///<param name = "param"></param> ///<returns></returns> public byte[] uploaderCaps(string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse) { UUID inv = inventoryItemID; byte[] data = HttpServerHandlerHelpers.ReadFully(request); clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath); newAssetID = m_invCaps.UploadCompleteHandler(m_assetName, m_assetDes, newAssetID, inv, parentFolder, data, m_invType, m_assetType, m_everyone_mask, m_group_mask, m_next_owner_mask); OSDMap map = new OSDMap(); map["new_asset"] = newAssetID.ToString(); map["new_inventory_item"] = inv; map["state"] = "complete"; return(OSDParser.SerializeLLSDXmlBytes(map)); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("AvatarPickerSearch", "GET"); m_service.RemoveStreamHandler("HomeLocation", "POST"); m_service.RemoveStreamHandler("TeleportLocation", "POST"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("ProductInfoRequest", "GET"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("ViewerStats", "POST"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("GroupMemberData", "POST"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("AgentPreferences", "POST"); m_service.RemoveStreamHandler("UpdateAgentLanguage", "POST"); m_service.RemoveStreamHandler("UpdateAgentInformation", "POST"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("ChatSessionRequest", "POST"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("MapLayer", "POST"); m_mapLayer.Clear(); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("AgentExperiences", "GET"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("GetTexture", "GET"); m_service.RemoveStreamHandler("UploadBakedTexture", "POST"); m_service.RemoveStreamHandler("GetMesh", "GET"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("RetrieveNavMeshSrc", "GET"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("ExperiencePreferences", "POST"); m_service.RemoveStreamHandler("FindExperienceByName", "POST"); m_service.RemoveStreamHandler("GetExperiences", "POST"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("GroupAPIv1", "GET"); m_service.RemoveStreamHandler("GroupAPIv1", "POST"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("SimulatorFeatures", "GET"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("MeshUploadFlag", "GET"); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("EventQueueGet", "POST", m_capsPath); MainServer.Instance.RemovePollServiceHTTPHandler("POST", m_capsPath); }
public void DeregisterCaps() { m_service.RemoveStreamHandler("SetDisplayName", "POST"); m_service.RemoveStreamHandler("GetDisplayNames", "GET"); }