You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
666 B
31 lines
666 B
#if !UNITY_WEBGL || UNITY_EDITOR |
|
using System; |
|
using BestHTTP.Connections; |
|
using BestHTTP.Logger; |
|
|
|
namespace BestHTTP.Core |
|
{ |
|
public interface IHTTPRequestHandler : IDisposable |
|
{ |
|
bool HasCustomRequestProcessor { get; } |
|
|
|
KeepAliveHeader KeepAlive { get; } |
|
|
|
bool CanProcessMultiple { get; } |
|
|
|
ShutdownTypes ShutdownType { get; } |
|
|
|
LoggingContext Context { get; } |
|
|
|
void Process(HTTPRequest request); |
|
|
|
void RunHandler(); |
|
|
|
/// <summary> |
|
/// An immediate shutdown request that called only on application closure. |
|
/// </summary> |
|
void Shutdown(ShutdownTypes type); |
|
} |
|
} |
|
|
|
#endif
|
|
|