mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
19 lines
493 B
C#
19 lines
493 B
C#
using System.IO;
|
|
using System.Net;
|
|
|
|
namespace Robust.Client.WebView
|
|
{
|
|
public interface IRequestHandlerContext
|
|
{
|
|
bool IsNavigation { get; }
|
|
bool IsDownload { get; }
|
|
string RequestInitiator { get; }
|
|
string Url { get; }
|
|
string Method { get; }
|
|
bool IsHandled { get; }
|
|
bool IsCancelled { get; }
|
|
void DoCancel();
|
|
void DoRespondStream(Stream stream, string contentType, HttpStatusCode code = HttpStatusCode.OK);
|
|
}
|
|
}
|