Commit graph

8 commits

Author SHA1 Message Date
toki
dc80493c72 Update README.md 2026-04-05 23:06:31 +09:00
toki
661c28a9ac Update protocol docs and fix communicator implementation 2026-04-05 22:46:46 +09:00
toki
f18f50ce5b Update launch.json 2026-04-05 20:55:10 +09:00
toki
22a7ce1c48 Add launch.json configuration 2026-04-05 20:53:27 +09:00
toki
de309ca2f1 Update protocol and add WebSocket protobuf client/server implementations 2026-04-05 20:44:37 +09:00
toki
d89b25948a feat: SSL/TLS support for both client and server
- ProtobufServer: named constructor .secure() for SSL mode
  - SecurityContext parameter for certificate/key loading
  - SecureServerSocket 분기 처리, stop()에서 양쪽 close
  - isSecure getter 추가
- ProtobufClient: static factory 메서드 추가
  - connect() — plain TCP
  - connectSecure() — SSL/TLS (SecureSocket extends Socket이라 내부 무수정)
- 테스트: SSL 그룹 4개 추가 (총 13개, 전부 통과)
  - 자체 서명 인증서로 실제 SSL 연결 검증
  - plain / SSL 동일 시나리오 병렬 커버

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 13:56:32 +09:00
toki
7fe90e4ea7 docs: add Python and Rust to planned implementations
- README.md, PROTOCOL.md: Python, Rust 추가
- .gitignore: python/, rust/ 빌드 아티팩트 규칙 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 13:46:20 +09:00
toki
240239682c Initial commit: Dart implementation of toki-socket protocol
- Protobuf-based binary TCP socket library
- ProtobufClient / ProtobufServer abstract classes with heartbeat
- Type-based message routing via Communicator
- 4-byte big-endian length-prefixed framing protocol
- 8 integration tests (all passing)
- PROTOCOL.md wire format specification
- VSCode launch.json for test runner

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 13:44:04 +09:00