89 network module #91
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
네트워크 요청 할수 있도록 간단하게 만들어두었습니다.
NetworkModuleTest 에서 사용법 확인하실수 있습니다.
IO는
public void Request(string uri, UnityAction<(bool, string)> callback = null)처럼 만들어 두었습니다.
uri에는 주소 넣으시면 되구요.
callback은 tuple로 인자 받게 하시면 됩니다.
궁금하신 부분 있으면 설명 요청해주세요.
post에는 key, value방식으로 값이 들어가므로, 일단 이렇게 해두었고,
나중에 데이터 양식이 정해시면, 좀 더 편하게 처리될 수 있도록 수정하겠습니다. (요청이 있으면요)