Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stdlib/openssl/0/openssl.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -8570,15 +8570,15 @@ module OpenSSL
# The callback is invoked with an SSLSocket. If `false` is returned the session
# will be removed from the internal cache.
#
def session_new_cb: () -> (^(SSLSocket) -> untyped | nil)
def session_new_cb: () -> (^(SSLSocket, Session) -> untyped | nil)

# <!-- rdoc-file=ext/openssl/ossl_ssl.c -->
# A callback invoked when a new session was negotiated.
#
# The callback is invoked with an SSLSocket. If `false` is returned the session
# will be removed from the internal cache.
#
def session_new_cb=: (^(SSLSocket) -> untyped) -> ^(SSLSocket) -> untyped
def session_new_cb=: (^(SSLSocket, Session) -> untyped) -> ^(SSLSocket, Session) -> untyped

# <!--
# rdoc-file=ext/openssl/ossl_ssl.c
Expand Down
Loading