IHttpServer.cs 338 B

12345678910111213
  1. namespace IFramework.Net.Http
  2. {
  3. public interface IHttpServerProvider
  4. {
  5. HttpOnReceived hOnReceived { get; set; }
  6. int Port { get; }
  7. void Disconnect(SocketToken sToken);
  8. bool Send(SegmentToken segment);
  9. bool Send(SocketToken sToken, byte[] data);
  10. bool Start(int port = 80);
  11. }
  12. }