Skip to content

Feature/networkmanger 네트워크 구현 #10

Merged
Roy-wonji merged 18 commits intomainfrom
feature/networkmanger
Sep 17, 2025
Merged

Feature/networkmanger 네트워크 구현 #10
Roy-wonji merged 18 commits intomainfrom
feature/networkmanger

Conversation

@Roy-wonji
Copy link
Contributor

🔗 관련 이슈


✨ 작업 내용

  • 네트워크 공통 통신 부분 구현
  • 서비시 코드 구현

Copy link
Contributor

@Peter1119 Peter1119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 다음에 네트워크 쪽 한번 직접 구현해봐야겠어요 !
고생하셨습니다 !

Comment on lines +92 to +99
// 500 에러일 때도 디코딩을 시도합니다.
if let decodedData = try? decodeErrorResponseData(
data: data,
decodeTo: type
) {
// 디코딩이 성공하면 반환
return decodedData
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

500에러에서도 디코딩이 되나요 ??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Peter1119 수정 된거 보면 특정 조건에서 하도록 했습니다

Comment on lines +89 to +90
case 500:
Log.error("Internal Server Error (500), attempting to decode response (Retry Count: \(retryCount + 1))")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

500...599 로 range로 해도 괜찮을 것 같아요 ~!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Peter1119 수정 했습니다

Copy link
Contributor

@minneee minneee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다~

@Roy-wonji Roy-wonji merged commit 4154f32 into main Sep 17, 2025
@Roy-wonji Roy-wonji deleted the feature/networkmanger branch September 17, 2025 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants