Fix due to the removed HttpServer<T> class from HttpServer.cs
This commit is contained in:
Binary file not shown.
@@ -7,11 +7,12 @@ namespace Example3
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
private static HttpServer<Echo> _httpsv;
|
||||
private static HttpServer _httpsv;
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
_httpsv = new HttpServer<Echo>(4649);
|
||||
_httpsv = new HttpServer(4649);
|
||||
_httpsv.AddService<Echo>("/");
|
||||
|
||||
_httpsv.OnGet += (sender, e) =>
|
||||
{
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user