Load images within datapacket delayed and cache them locally

This commit is contained in:
lukeIam committed 2013-12-13 17:43:18 +01:00
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