Skip to content

feat: add hasConnect() and hasSsl() methods to Timings#154

Merged
deviantintegral merged 1 commit intomainfrom
claude/add-hasconnect-timings-c5Sbd
Dec 16, 2025
Merged

feat: add hasConnect() and hasSsl() methods to Timings#154
deviantintegral merged 1 commit intomainfrom
claude/add-hasconnect-timings-c5Sbd

Conversation

@deviantintegral
Copy link
Owner

Add missing has*() methods for connect and ssl timing fields to maintain API consistency with other optional timing fields (blocked, dns).

  • Add hasConnect() method to check if connect timing is present
  • Add hasSsl() method to check if SSL/TLS timing is present
  • Add comprehensive tests for both new methods
  • Follow existing pattern of checking for -1.0 sentinel value

This resolves the API inconsistency where connect and ssl fields used the -1.0 sentinel value but lacked the corresponding has*() methods.

Add missing has*() methods for connect and ssl timing fields to maintain
API consistency with other optional timing fields (blocked, dns).

- Add hasConnect() method to check if connect timing is present
- Add hasSsl() method to check if SSL/TLS timing is present
- Add comprehensive tests for both new methods
- Follow existing pattern of checking for -1.0 sentinel value

This resolves the API inconsistency where connect and ssl fields
used the -1.0 sentinel value but lacked the corresponding has*() methods.
@deviantintegral deviantintegral merged commit 1ebb103 into main Dec 16, 2025
8 checks passed
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.

2 participants