public void PrintImageFromURL(string ImgURL) { if (websocket != null) { PrintImageFromURLRequestMessage msg = new PrintImageFromURLRequestMessage(); sdk.service.client.PrintImage payload = new sdk.service.client.PrintImage(); payload.Url = ImgURL; msg.payload = payload; websocket.Send(JsonUtils.serialize(msg)); } }
public void PrintImageFromURL(string ImgURL) { if (websocket != null) { PrintImageFromURLRequestMessage msg = new PrintImageFromURLRequestMessage(); sdk.service.client.PrintImage payload = new sdk.service.client.PrintImage(); payload.Url = ImgURL; msg.payload = payload; websocket.Send(JsonUtils.serialize(msg)); } }