diff options
| author | hawken <hawken@thehawken.org> | 2019-01-07 23:27:46 +0000 |
|---|---|---|
| committer | hawken <hawken@thehawken.org> | 2019-01-07 23:27:46 +0000 |
| commit | bd169e4fd4f5586ab8dad323a520cbcc10de54fe (patch) | |
| tree | 25ac796d1cbba2d1411612e210b2fde904593ddb /Emby.Dlna/PlayTo/SsdpHttpClient.cs | |
| parent | ba1794f64bb1959b3af0fbbddca57df14a5544a9 (diff) | |
remove trailing whitespace
Diffstat (limited to 'Emby.Dlna/PlayTo/SsdpHttpClient.cs')
| -rw-r--r-- | Emby.Dlna/PlayTo/SsdpHttpClient.cs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Emby.Dlna/PlayTo/SsdpHttpClient.cs b/Emby.Dlna/PlayTo/SsdpHttpClient.cs index bfd163bf1..818744ba8 100644 --- a/Emby.Dlna/PlayTo/SsdpHttpClient.cs +++ b/Emby.Dlna/PlayTo/SsdpHttpClient.cs @@ -25,10 +25,10 @@ namespace Emby.Dlna.PlayTo _config = config; } - public async Task<XDocument> SendCommandAsync(string baseUrl, - DeviceService service, - string command, - string postData, + public async Task<XDocument> SendCommandAsync(string baseUrl, + DeviceService service, + string command, + string postData, bool logRequest = true, string header = null) { @@ -62,12 +62,12 @@ namespace Emby.Dlna.PlayTo } private readonly CultureInfo _usCulture = new CultureInfo("en-US"); - - public async Task SubscribeAsync(string url, - string ip, - int port, - string localIp, - int eventport, + + public async Task SubscribeAsync(string url, + string ip, + int port, + string localIp, + int eventport, int timeOut = 3600) { var options = new HttpRequestOptions @@ -121,9 +121,9 @@ namespace Emby.Dlna.PlayTo } } - private Task<HttpResponseInfo> PostSoapDataAsync(string url, - string soapAction, - string postData, + private Task<HttpResponseInfo> PostSoapDataAsync(string url, + string soapAction, + string postData, string header, bool logRequest, CancellationToken cancellationToken) |
