Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace Svelto.Services
- {
- public interface IResponseHandler<ResponseType> : IResponseHandler
- {
- ResponseType response { get; }
- }
-
- public interface IResponseHandler
- {
- // Called once per frame when data has been received from the network.
- bool ReceiveData(byte[] data, int dataLength);
-
- // Called when all data has been received from the server and delivered via ReceiveData.
- void CompleteContent();
-
- // Called when a Content-Length header is received from the server.
- void ReceiveContentLength(int contentLength);
- }
- }
|