implement FileTransfer and UserService modules with WebRTC support
This commit is contained in:
13
Interfaces/IFileWriterAPI.cs
Normal file
13
Interfaces/IFileWriterAPI.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Chtn.CSharp.SDK.Interfaces
|
||||
{
|
||||
public interface IFileWriterAPI
|
||||
{
|
||||
Task OpenFile(string transferId, string fileName, long totalSize);
|
||||
|
||||
Task WriteChunk(string transferId, byte[] data);
|
||||
|
||||
void CloseFile(string transferId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user