Is it possible, using Grapevine, to create an endpoint that returns a stream, such as a video?
In WCF I would create a function with a return type of Stream. All Grapevine functions return IHttpContext. Can I use something like "HttpContext.Current.OutputStream"?
Alternatively, I see something in the code:
public sealed class AdvancedHttpResponse
{
...
/// <summary>
/// Gets a Stream object to which a response can be written
/// </summary>
public Stream OutputStream => _response.Response.OutputStream;
...
}
How does one go about using this?