Commit graph

18 commits

Author SHA1 Message Date
mark f258b6ede8 pr review updates 2020-05-10 18:19:52 +01:00
mark 43d9d12167 PR review changes 2020-04-26 17:29:26 +01:00
Alexander Merkulov 3e0e53bb09 Reapply Events PR #679
pr updates

amended pr review changes

resolved merge conflicts

updates from last night before rebase

update on message test now passing

removed nlog references and usage

resolve conflicts from HEAD

Reapply Events PR #679

update on message test now passing

removed nlog references and usage
2020-04-25 00:22:54 +01:00
solarin c67801a6c9
Added an IPv4/IPv6 toggle to TelegramClient constructor (#925)
Fixes https://github.com/sochix/TLSharp/issues/857
2020-04-05 23:22:36 +08:00
Afshin Arani 6d2c77f5ef Remove unnecessary dependencies 2020-04-05 19:33:18 +08:00
Andres G. Aragoneses 90f9305dd6 style: more consistent naming removing underscores
There were less places with underscores in field names than
places without them, so we now are consistent with the most
abundant occurrence.
2020-01-31 14:39:19 +08:00
CheshireCaat c5a2c816fc Improvements for async methods
Added CancellationToken with default value to all async methods in TLSharp.Core
Added ConfigureAwait(false) to all async methods in TLSharp.Core
SendRequestAsync replaced to SendAuthenticatedRequestAsync in methods that need auth
Private modifier in SendAuthenticatedRequestAsync changed to internal

Based on PR created by @IaRuslan
2020-01-28 10:10:49 +03:00
Felony 4a663d89b3 Fix typo in Receive method declaration 2019-10-02 22:02:54 +08:00
Felony 460ec6fb32 Free TCP network stream
- Use single TCP network stream fore read and write

- Cleanup TCP stream on disposing as microsoft note : https://docs.microsoft.com/en-us/dotnet/api/system.net.sockets.tcpclient.getstream?view=netframework-4.8
2019-10-02 22:02:54 +08:00
Mike 00330c9bd0 Fix Issue #862 (#863)
Fix connection with IPv4 address. A regression introduced in 3224113e4c.
2019-07-12 07:35:26 +08:00
Nicholas Rodine 3224113e4c Modified TcpClient setup to work with IPv6 addresses, fixing #773. 2019-06-28 13:25:35 +08:00
Andres G. Aragoneses 3762664c14 Normalize line endings 2018-03-04 00:39:23 +08:00
salarcode c5187ae12b Implementing IsConnected
Closes #460
2017-04-26 13:18:17 +08:00
Starli0n 48077961ae Custom TCP hanlder to allow HTTP proxy auth 2017-01-27 10:58:47 +01:00
ahmadali shafiee 504b63a6d7 formatting code (ctrl + k + d) 2016-04-18 15:20:57 +04:30
Ilya Pirozhneko 824ba77e12 Added auto dc switching 2016-01-27 14:02:18 +03:00
ra0o0f dbe369b26d change how client receive tcp packets 2016-01-09 14:35:00 +03:30
Ilya Pirozhneko 3bb487a194 TLSharp and Tests 2015-09-28 10:01:17 +08:00