Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
52f840a
2018 09 22
Sep 22, 2018
13e3450
Merge pull request #1 from fpdhs698/master
Jaehyuk-Lee Sep 23, 2018
0b595ae
20180923.1 update
Jaehyuk-Lee Sep 23, 2018
e02c9cd
homepage update
Jaehyuk-Lee Sep 23, 2018
f0335ba
v20180923.1 update
Jaehyuk-Lee Sep 23, 2018
6805c97
일부 코드 되돌림
Jaehyuk-Lee Sep 23, 2018
673a94e
Bug removal
Jaehyuk-Lee Sep 23, 2018
8976182
document - version update
Jaehyuk-Lee Sep 23, 2018
73fbc62
Update index.md
Sep 23, 2018
7d266ae
Update index.en.md
Sep 23, 2018
775b92f
Update index.ja.md
Sep 23, 2018
c57e743
Merge pull request #2 from fpdhs698/master
Jaehyuk-Lee Sep 23, 2018
0efb9cd
Del the hide ui (if in dungeon)
Sep 23, 2018
c0b9d67
09 24
Sep 23, 2018
f1ffdfe
2018 0924
Sep 23, 2018
d654936
clear the string
Sep 23, 2018
1316596
del hide ui and make new preset
Sep 23, 2018
bffff4c
2018 09 24 modify translator
Sep 23, 2018
de54392
20180924
Sep 23, 2018
1e8d5c9
2018 09 24
Sep 23, 2018
189d4f1
2018 09 24
Sep 23, 2018
4492523
2018 09 24
Sep 23, 2018
2998ddf
Merge branch 'master' into master
Jaehyuk-Lee Sep 27, 2018
b8485d1
Merge pull request #3 from fpdhs698/master
Jaehyuk-Lee Sep 27, 2018
dcc4c2a
v20181008.1
Jaehyuk-Lee Oct 8, 2018
b71904f
Twitter Unabled
Jaehyuk-Lee Oct 8, 2018
5a7b3b2
bug fix
Jaehyuk-Lee Oct 8, 2018
692422e
Update App/Resources/Data/ko-kr.json
Jaehyuk-Lee Oct 10, 2018
8650ebd
20181106 pyros
Nov 6, 2018
6468c4d
Merge pull request #10 from fpdhs698/master
Jaehyuk-Lee Nov 7, 2018
3cd157f
4.3 지원
Jaehyuk-Lee Nov 14, 2018
a076ea8
add 4.45 new trial
Nov 18, 2018
6caf11f
Merge pull request #11 from fpdhs698/master
Jaehyuk-Lee Nov 24, 2018
e86fd00
update ver
Dec 29, 2018
a1a57a8
fix bug
Dec 29, 2018
30b8668
Merge pull request #13 from fpdhs698/master
Jaehyuk-Lee Dec 31, 2018
ea8a799
Create faq.md
Jaehyuk-Lee Dec 31, 2018
b969a25
Merge branch 'master' of https://github.com/Jaehyuk-Lee/DFAssist
Jaehyuk-Lee Dec 31, 2018
7ac37e2
FAQ 업데이트
Jaehyuk-Lee Dec 31, 2018
284550c
FAQ로 가는 링크 추가
Jaehyuk-Lee Dec 31, 2018
9ce789b
링크 오타 수정
Jaehyuk-Lee Dec 31, 2018
32cde4a
remove unused option and preparing new feature
Jaehyuk-Lee Dec 31, 2018
dd463eb
Fate occurrence sound notification add
Jaehyuk-Lee Dec 31, 2018
4fe80cc
Add Sound feature
Jaehyuk-Lee Dec 31, 2018
7e43ccf
remove test code
Jaehyuk-Lee Dec 31, 2018
71bf477
Slight Change on Design
Jaehyuk-Lee Dec 31, 2018
b11f7f9
version update
Jaehyuk-Lee Dec 31, 2018
90d89d8
update index.md
Jaehyuk-Lee Dec 31, 2018
40c5a55
update index.md
Jaehyuk-Lee Dec 31, 2018
394b284
Update index.md
Jaehyuk-Lee Dec 31, 2018
939ee2f
refresh fates when DF data updates
Jaehyuk-Lee Jan 1, 2019
9d3611d
Remove Tweet Function
Jaehyuk-Lee Jan 1, 2019
a63901f
Remove twitter
Jaehyuk-Lee Jan 1, 2019
6e52c27
Update WebApi.cs
Jaehyuk-Lee Jan 2, 2019
744c04d
change TabIndex
Jaehyuk-Lee Jan 2, 2019
27cd525
remove SharpRaven
Jaehyuk-Lee Jan 2, 2019
2e9e35e
2줄 안내로 변경
Jaehyuk-Lee Jan 2, 2019
ab0762d
add update note, more localization, unused Global Variables removal
Jaehyuk-Lee Jan 2, 2019
844736f
Remove Sentry
Jaehyuk-Lee Jan 2, 2019
907a071
Enable DF Data FATE update
Jaehyuk-Lee Jan 2, 2019
80cd169
update Screenshots
Jaehyuk-Lee Jan 2, 2019
b9527cd
homepage update
Jaehyuk-Lee Jan 2, 2019
51ee797
docs update
Jaehyuk-Lee Jan 2, 2019
7c42a71
Update index.ja.md
Jaehyuk-Lee Jan 2, 2019
3295048
Update index.ja.md
Jaehyuk-Lee Jan 2, 2019
ad29b5d
Update index.ja.md
Jaehyuk-Lee Jan 2, 2019
6b98c50
check if remote port is not 9010
Jaehyuk-Lee Jan 2, 2019
7048992
check if remote ip is 127.0.0.1
Jaehyuk-Lee Jan 4, 2019
b7fd22b
version update
Jaehyuk-Lee Jan 4, 2019
b356123
version update
Jaehyuk-Lee Jan 4, 2019
cd6c381
2018 to 2019
Jaehyuk-Lee Jan 5, 2019
66dd4af
FAQ update
Jaehyuk-Lee Jan 5, 2019
416a914
텍스트 개선
Jaehyuk-Lee Jan 5, 2019
ef4275d
update Japanese traslation(日本語訳の改善)
Jaehyuk-Lee Jan 5, 2019
9e28428
update French translation
Jaehyuk-Lee Jan 5, 2019
5c48aeb
update French translation
Jaehyuk-Lee Jan 5, 2019
44525bb
Fix up en translations
kerriamber Jan 6, 2019
5190b2e
update Japanese translation
Jaehyuk-Lee Jan 6, 2019
010fd3a
4.5 patch
Jaehyuk-Lee Jan 8, 2019
ac4ae40
4.5패치
Jaehyuk-Lee Jan 8, 2019
29e0d99
4.5 patch
Jaehyuk-Lee Jan 8, 2019
2780142
4.5 patch (add)
Jan 13, 2019
433b4be
Merge pull request #17 from fpdhs698/master
Jaehyuk-Lee Jan 14, 2019
eeaaeda
Merge pull request #16 from kerriamber/update-english-i18n
Jaehyuk-Lee Jan 14, 2019
408667b
Custom Sound on FATE and Duty
Jaehyuk-Lee Jan 14, 2019
d8330e5
개행 개선
Jaehyuk-Lee Jan 30, 2019
9aedaf7
마크다운 개선 및 해결된 문제 내용 삭제
Jaehyuk-Lee Jan 30, 2019
30451d0
Update index.md
Jaehyuk-Lee Jan 30, 2019
f121c51
markdown improve
Jaehyuk-Lee Jan 30, 2019
d630adc
improve markdown
Jaehyuk-Lee Jan 30, 2019
2520401
마크다운 문법에 맞게 변경
Jaehyuk-Lee Jan 30, 2019
134a0e1
Update ko-kr.json
Jaehyuk-Lee Feb 2, 2019
bf5003f
Update Global.cs
Jaehyuk-Lee Feb 2, 2019
585c866
add the fate(missed)
Feb 5, 2019
0254734
파고스 돌발 명칭 한글어로 수정
Feb 5, 2019
93f6b8b
Merge pull request #20 from fpdhs698/master
Jaehyuk-Lee Feb 5, 2019
f52e9e5
update DFAssist Version
Jaehyuk-Lee Feb 5, 2019
1e96c9a
정식 번역명으로 수정
Feb 6, 2019
0e957ca
patch the client version
Feb 6, 2019
ccb214a
글섭 클라 버전 수정 및 한글 클라 수정
Feb 6, 2019
bb33115
Merge pull request #21 from fpdhs698/master
Jaehyuk-Lee Feb 9, 2019
49f7953
Hydatos update
Jaehyuk-Lee Feb 18, 2019
c03e5f2
Update Global.cs
Jaehyuk-Lee Feb 18, 2019
e882e80
add more info on README
Jaehyuk-Lee Mar 16, 2019
847d9a5
change contributors link
Jaehyuk-Lee Mar 16, 2019
4be9973
change discord invite link
Jaehyuk-Lee Mar 16, 2019
e234b79
Compatible with WTF VPN
Jaehyuk-Lee Mar 17, 2019
926a4a8
WTF -> WTFast
Jaehyuk-Lee Mar 17, 2019
8abf0c2
update logic
Jaehyuk-Lee Mar 17, 2019
79e888d
minor text imporvement
Jaehyuk-Lee Mar 17, 2019
6eaf4d4
imporve localization (button location)
Jaehyuk-Lee Mar 17, 2019
6116280
add VPN option alert
Jaehyuk-Lee Mar 17, 2019
4078b2f
update
Jaehyuk-Lee Mar 19, 2019
f185d38
update
Jaehyuk-Lee Mar 19, 2019
b28d10a
update Settings.Updated default value
Jaehyuk-Lee Mar 21, 2019
8412555
add Http Request feature
Jaehyuk-Lee Mar 22, 2019
ea34677
remove unused code
Jaehyuk-Lee Mar 22, 2019
ea76ec5
update localization
Jaehyuk-Lee Mar 22, 2019
bbadb5c
update http-post
Jaehyuk-Lee Mar 22, 2019
84c53cc
update readme
Jaehyuk-Lee Mar 22, 2019
2462a54
improve localization
Jaehyuk-Lee Mar 22, 2019
986d007
update
Jaehyuk-Lee Mar 22, 2019
98647ef
update localization
Jaehyuk-Lee Mar 22, 2019
73c0744
release
Jaehyuk-Lee Mar 22, 2019
1ef67b0
Merge branch 'http-post'
Jaehyuk-Lee Mar 22, 2019
0f08ad5
update charset and little change in UI
Jaehyuk-Lee Mar 23, 2019
429c5d4
update version
Jaehyuk-Lee Mar 23, 2019
60621fc
'g', 'y', 'q', etc not showing lower part of the letter resolved.
Jaehyuk-Lee Mar 24, 2019
05b7ad0
configure travis CI
Jaehyuk-Lee Mar 30, 2019
ba5e86b
add codescene.io
Jaehyuk-Lee Mar 30, 2019
b9a26b3
fix travis CI configuration
Jaehyuk-Lee Mar 31, 2019
a1fea4a
compatibility for v4.5
Jaehyuk-Lee Apr 8, 2019
a40e83a
change to on-line
Jaehyuk-Lee Apr 8, 2019
c04a5e9
fix logical bug
Jaehyuk-Lee Apr 8, 2019
c2fc9fa
update D/F data
Jaehyuk-Lee Apr 9, 2019
90fc5c2
Update issue templates
Jaehyuk-Lee Apr 26, 2019
f8077ac
update fate data
Jaehyuk-Lee Apr 30, 2019
e98112a
Korea Publisher Changed
Jaehyuk-Lee Apr 30, 2019
f510546
Korean v4.45 Pyros Update
Jaehyuk-Lee Apr 30, 2019
909f141
update DF Version Info
Jaehyuk-Lee Apr 30, 2019
5be7576
fate-ui-update bug fix
Jaehyuk-Lee May 9, 2019
462c631
ready for release
Jaehyuk-Lee May 9, 2019
8911aaa
update ui images
Jaehyuk-Lee May 9, 2019
47a552c
Update ko-kr.json
Jaehyuk-Lee May 12, 2019
954c6cc
update twitter feature
Jaehyuk-Lee May 18, 2019
5e54bb0
update ko-kr data
Jaehyuk-Lee May 18, 2019
b1394f8
add discord notify feature
Jaehyuk-Lee May 19, 2019
07adeec
update 3rd-party alarm
Jaehyuk-Lee May 19, 2019
a577dfc
alert Discord ID Form, update French
Jaehyuk-Lee May 19, 2019
fcc1f60
update v20190519.2
Jaehyuk-Lee May 19, 2019
b877f6d
minor update (letter changed \ to \)
Jaehyuk-Lee May 21, 2019
952fe15
delete twitter support and add telegram support
Jaehyuk-Lee May 28, 2019
da59144
update translation, url miswritten resolved
Jaehyuk-Lee May 29, 2019
1cca7b2
if account is empty, cancel server request.
Jaehyuk-Lee May 30, 2019
1f7c6ac
update v20190601.1
Jaehyuk-Lee Jun 1, 2019
44afea3
update data. apply translation
Jaehyuk-Lee Jun 1, 2019
270f6df
Merge branch 'master' of https://github.com/Jaehyuk-Lee/DFAssist
Jaehyuk-Lee Jun 1, 2019
ddaca87
change Discord about texts
Jun 1, 2019
d5af388
mistype resolve
Jun 1, 2019
412cebe
update Leap of Faith (duty id 600)
Jaehyuk-Lee Jun 3, 2019
5f63cc0
discord ID limit changed
Jaehyuk-Lee Jun 3, 2019
173f8a3
v20190603.1 release
Jaehyuk-Lee Jun 3, 2019
5461b84
update Leap of Faith
Jaehyuk-Lee Jun 7, 2019
e733126
한글판 무작위 임무 명칭 수정
Jun 8, 2019
cffdded
Merge pull request #28 from fpdhs698/master
Jaehyuk-Lee Jun 8, 2019
3b6edb2
update Alert message for Discord ID Limitation
Jaehyuk-Lee Jun 8, 2019
3acc940
Patch V4.5 Compatibility
DieMoe233 Jun 12, 2019
ad193e2
Merge pull request #29 from DieMoe233/patch-1
Jaehyuk-Lee Jun 12, 2019
a7d8f6d
add autoHideOverlay Function
Jaehyuk-Lee Jun 12, 2019
1307597
v20190612.1 release
Jaehyuk-Lee Jun 12, 2019
b2223a3
update Application UI image
Jaehyuk-Lee Jun 12, 2019
055d405
cannot hide overlay resolved
Jaehyuk-Lee Jun 14, 2019
5caf723
v20190614.1 release
Jaehyuk-Lee Jun 14, 2019
4c56fa7
D/F data ko-kr v20190615.1
Jaehyuk-Lee Jun 15, 2019
a35b261
kr update v4.5
Jaehyuk-Lee Jun 18, 2019
65d66a2
ko-kr Blue Mage update
Jaehyuk-Lee Jun 18, 2019
bed0a2e
Add files via upload
Jaehyuk-Lee Jun 27, 2019
7aaf28a
v5.0 duty data addition
Jaehyuk-Lee Jun 28, 2019
c6c781a
v5.0 compatibility checked
Jaehyuk-Lee Jun 28, 2019
3eb636f
Duty Data update v20190628.2
Jaehyuk-Lee Jun 28, 2019
af2214e
71렙 던전 한국어 추가
Jaehyuk-Lee Jun 29, 2019
5c0e14f
add leap of faith
Jaehyuk-Lee Jun 29, 2019
bc7b2f3
clean up event FATEs, SB by area, ShB FATE added
Jaehyuk-Lee Jun 29, 2019
fd31d96
FATE updated ShB
Jaehyuk-Lee Jun 29, 2019
f57a53b
fate area grouping (not completed yet)
Jaehyuk-Lee Jul 2, 2019
24e2fbb
grouping (almost completed)
Jul 5, 2019
9298b3d
grouping (almost completed)
Jul 5, 2019
ba9adf7
Merge pull request #31 from fpdhs698/master
Jaehyuk-Lee Jul 5, 2019
018cf1b
complete fate grouping by areas
Jaehyuk-Lee Jul 5, 2019
12edcd1
addition of ShB FATE preset
Jaehyuk-Lee Jul 6, 2019
42b70ce
v20190706.1 release
Jaehyuk-Lee Jul 6, 2019
d0c6ca5
Create FUNDING.yml
Jaehyuk-Lee Jul 14, 2019
ce86cab
5.01 Raids
Jul 16, 2019
440ee08
Merge pull request #33 from fpdhs698/master
Jaehyuk-Lee Jul 16, 2019
d803e25
add Deutsch(UI not translated), clean up fates
Jaehyuk-Lee Jul 16, 2019
32c4882
update message
Jaehyuk-Lee Jul 16, 2019
eee7957
release v20190716.1
Jaehyuk-Lee Jul 16, 2019
bc80e6e
update VPN text
Jaehyuk-Lee Jul 18, 2019
9901c1e
change VPN text
Jaehyuk-Lee Jul 20, 2019
a16072a
add macro auto-copy function
Jaehyuk-Lee Jul 20, 2019
f4f822d
apply changed language D/F data right away
Jaehyuk-Lee Jul 20, 2019
039e916
v20190720.1 release
Jaehyuk-Lee Jul 20, 2019
5eb0aa5
German area names fix
Jaehyuk-Lee Jul 21, 2019
2ea91ea
fix German area names
Jaehyuk-Lee Jul 21, 2019
85dfc04
fix German area name
Jaehyuk-Lee Jul 21, 2019
2363cd4
apply German UI
Jaehyuk-Lee Jul 21, 2019
3bbdfc6
v20190721.1 release
Jaehyuk-Lee Jul 21, 2019
bd7e394
update German translation & area names
Jaehyuk-Lee Jul 22, 2019
2bb70bb
addition of German information page
Jaehyuk-Lee Jul 22, 2019
bb5aa99
update Character-Encodeing, improve translation
Jaehyuk-Lee Jul 27, 2019
39b42bc
English translation file distype
Jaehyuk-Lee Jul 27, 2019
2016722
get rid of codescene
Jaehyuk-Lee Jul 27, 2019
513fff1
5.05 savage
Jul 30, 2019
cfcf8f6
Merge pull request #34 from fpdhs698/master
Jaehyuk-Lee Jul 30, 2019
347f6b1
add localize contribution link
Jaehyuk-Lee Jul 30, 2019
7730af8
ko-kr data v20190804.1
Jaehyuk-Lee Aug 4, 2019
7d6a695
Japanese translation update
Jaehyuk-Lee Aug 8, 2019
0be5b9b
improve Japanese translation
Jaehyuk-Lee Aug 8, 2019
429c7a2
v20190810.1 Korean D/F data
Jaehyuk-Lee Aug 10, 2019
d7c501b
update German images
Jaehyuk-Lee Aug 12, 2019
6fe894a
japanese image update
Jaehyuk-Lee Aug 12, 2019
0f41e0f
FFXIV v5.0 daily roulette compatibility update
Jaehyuk-Lee Aug 12, 2019
5d2819f
update Japanese Font
Jaehyuk-Lee Aug 12, 2019
1b75815
v20190812.1 release
Jaehyuk-Lee Aug 12, 2019
c7f9fb9
emergency bug fix (release v20190812.2)
Jaehyuk-Lee Aug 12, 2019
111dbda
remove unused codes
Jaehyuk-Lee Aug 12, 2019
071f50a
remove unused code
Jaehyuk-Lee Aug 12, 2019
fe3dce4
ja-jp macro update
Jaehyuk-Lee Aug 24, 2019
141d9ba
Send queue status via Telegram
Jaehyuk-Lee Sep 4, 2019
bb32912
v20190904.1 release
Jaehyuk-Lee Sep 4, 2019
853a16c
Add Localization Link
Jaehyuk-Lee Sep 11, 2019
661a1bc
v20190911.1 release
Jaehyuk-Lee Sep 11, 2019
723022f
add Russian support
Jaehyuk-Lee Sep 17, 2019
0056be2
매칭 신청 도중에 실행한 경우 UI 개선
Jaehyuk-Lee Sep 17, 2019
d14acd1
simple update
Jaehyuk-Lee Sep 20, 2019
8eb18dc
update Russian
Jaehyuk-Lee Oct 3, 2019
0954133
v20191003.1 release
Jaehyuk-Lee Oct 3, 2019
45238e0
Korean localization update
Jaehyuk-Lee Oct 5, 2019
61377ca
Russian document Screenshot update
Jaehyuk-Lee Oct 7, 2019
8c0e68b
5.1 support
Oct 29, 2019
86aef01
Merge pull request #35 from fpdhs698/master
Jaehyuk-Lee Oct 29, 2019
5e0b2d9
v5.1 compatibility - alpha release
Jaehyuk-Lee Nov 4, 2019
0c79579
update opcode with v5.11 (not completed)
Jaehyuk-Lee Nov 18, 2019
9eb7a11
v5.11 compatibility update
Jaehyuk-Lee Nov 18, 2019
ca9e2b9
Add Simplified Chinese support
Jaehyuk-Lee Nov 18, 2019
b73cc57
update simplified chinese name in Chinese letter
Jaehyuk-Lee Nov 18, 2019
26ccfb5
Log debug logs
Jaehyuk-Lee Nov 26, 2019
5694ff1
Stop maintaining DFAssist
Jaehyuk-Lee Nov 26, 2019
af51472
FATEs apply Korean names
Jaehyuk-Lee Dec 3, 2019
5a25c97
Update README.md
Jaehyuk-Lee Mar 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: ['https://www.paypal.me/dfassist']
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Application Logs**
Please copy and paste the application's log here.

**Additional context**
Add any other context about the problem here.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
language: csharp
solution: DFAssist.sln
80 changes: 70 additions & 10 deletions App/Api/WebApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,81 @@ namespace App
{
internal static class WebApi
{
internal static void Tweet(string key, params object[] args)
internal static void Request(string service, string type, string name)
{
Task.Factory.StartNew(() =>
{
var message = Localization.GetText(key, args);
var url = $"{Global.API_ENDPOINT}/tweet?u={Settings.TwitterAccount}&m={HttpUtility.UrlEncode(message)}&h={GetMD5Hash(message)}";
var account = "";
if (service == "telegram")
account = Settings.TelegramChatId;
else if (service == "discord")
account = Settings.DiscordAccount;
if (account == "") return;
var url = $"{Global.API_ENDPOINT}?service={service}&user={account}&lang={Settings.Language}&type={type}&name={HttpUtility.UrlEncode(name)}&hash={GetMD5Hash(name)}";

var resp = Request(url);
if (resp == null)
{
Log.E("tweet-failed-request");
Log.E($"l-{service}-failed-request");
}
else if (resp == "1")
else if (resp == "0")
{
Log.E("tweet-failed");
Log.S($"l-{service}-success");
}
else if (resp == "0")
else
{
Log.E($"l-{service}-failed-general", resp);
}
});
}

internal static void customHttpRequest(string status, string name)
{
Task.Factory.StartNew(() =>
{
var url = "http://" + Settings.customHttpUrl;
string data = "{ \"status\": \""+status+"\", \"name\" : \""+name+"\" }";

try
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "POST";
request.ContentType = "application/json";
request.Timeout = 30 * 1000;

// POST할 데이터를 Request Stream에 쓴다
byte[] bytes = Encoding.UTF8.GetBytes(data);
request.ContentLength = bytes.Length; // 바이트수 지정

using (Stream reqStream = request.GetRequestStream())
{
reqStream.Write(bytes, 0, bytes.Length);
}

Log.I("l-POST-send", url, data);

// Response 처리
string responseText = string.Empty;
using (WebResponse resp = request.GetResponse())
{
Stream respStream = resp.GetResponseStream();
using (StreamReader sr = new StreamReader(respStream))
{
responseText = sr.ReadToEnd();
if(responseText == null)
{
Log.E("l-POST-no-response");
}
else
{
Log.S("l-POST-response",responseText);
}
}
}
}
catch (Exception ex)
{
Log.S("tweet-success");
Log.Ex(ex, "l-POST-failed");
}
});
}
Expand All @@ -39,11 +95,15 @@ internal static string Request(string urlfmt, params object[] args)
try
{
var url = string.Format(urlfmt, args);

ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
ServicePointManager.DefaultConnectionLimit = 9999;

var request = (HttpWebRequest)WebRequest.Create(url);
request.UserAgent = "DFA";
request.Timeout = 10000;
request.CachePolicy = new RequestCachePolicy(RequestCacheLevel.NoCacheNoStore);

using (var response = (HttpWebResponse)request.GetResponse())
{
var encoding = Encoding.GetEncoding(response.CharacterSet);
Expand All @@ -55,7 +115,7 @@ internal static string Request(string urlfmt, params object[] args)
}
catch (Exception ex)
{
Log.Ex(ex, "web-failed");
Log.Ex(ex, "l-web-request-failed");
}

return null;
Expand Down
Loading