Load images within datapacket delayed and cache them locally
This commit is contained in:
1 parent
08f4428e28
commit
2f2349ffbb
6 files changed
+133
-21
No files matched your search
@@ -96,6 +96,12 @@ namespace ServerLib
|
||||
UriTemplate = "/img/{filename}")]
|
||||
Stream GetImgFile(String filename);
|
||||
|
||||
[OperationContract]
|
||||
[WebInvoke(Method = "GET",
|
||||
ResponseFormat = WebMessageFormat.Json,
|
||||
UriTemplate = "/delayedImage?id={id}")]
|
||||
Base64Image GetDelayedImage(String id);
|
||||
|
||||
#endregion
|
||||
|
||||
#region songs
|
||||
@@ -382,6 +388,11 @@ namespace ServerLib
|
||||
}
|
||||
}
|
||||
|
||||
public Base64Image GetDelayedImage(string id)
|
||||
{
|
||||
return CServer.GetDelayedImage(id);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region songs
|
||||
|
||||
Reference in new issue
Block a user