Skip to content

Commit

Permalink
docs: add docs for new interface methods
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Oct 16, 2024
1 parent 7bb6120 commit ebd6bda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ type Context interface {
// Context returns the underlying request context.
Context() context.Context

// TLS / SSL connection information.
TLS() *tls.ConnectionState

// Version of the HTTP protocol as text and integers.
Version() ProtoVersion

// Method returns the HTTP method for the request.
Expand Down

0 comments on commit ebd6bda

Please sign in to comment.