Modified ClientGenerator to support responses as a parameter input. Improved streams support. Bumped package version to 1.4.8
This commit is contained in:
1 parent
b9e1f2ca7d
commit
6a7f6ce096
4 files changed
+27
-9
No files matched your search
@@ -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