Modified ClientGenerator to support responses as a parameter input. Improved streams support. Bumped package version to 1.4.8
This commit is contained in:
@ -215,7 +215,7 @@ namespace MontoyaTech.Rest.Net.Example
|
||||
}
|
||||
|
||||
[RouteGroup("Stream")]
|
||||
[RouteResponse(typeof(MemoryStream))]
|
||||
[RouteResponse(typeof(FileStream), Parameter = true)]
|
||||
public static HttpListenerResponse Download(HttpListenerContext context)
|
||||
{
|
||||
return context.Response.WithStatus(HttpStatusCode.OK).WithText("Hello world");
|
||||
|
Reference in New Issue
Block a user