12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System.Collections.Generic;
- using OpenMetaverse;
- namespace OpenSim.Region.Framework.Interfaces
- {
- public enum HttpRequestConstants
- {
- HTTP_METHOD = 0,
- HTTP_MIMETYPE = 1,
- HTTP_BODY_MAXLENGTH = 2,
- HTTP_VERIFY_CERT = 3,
- }
- public interface IHttpRequestModule
- {
- UUID MakeHttpRequest(string url, string parameters, string body);
- UUID StartHttpRequest(uint localID, UUID itemID, string url, List<string> parameters, Dictionary<string, string> headers, string body);
- void StopHttpRequest(uint m_localID, UUID m_itemID);
- IServiceRequest GetNextCompletedRequest();
- void RemoveCompletedRequest(UUID id);
- }
- }
|