Skip to content

Commit

Permalink
fix: remove OnCancel for now as well until better API is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
emiago committed Sep 8, 2024
1 parent 6407933 commit 8cdceda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sip/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ type ServerTransaction interface {
Acks() <-chan *Request
// Cancels is triggered when transaction is canceled, that is SIP CANCEL is received for transaction.
// Cancels() <-chan *Request

OnCancel(f func(r *Request))
// OnCancel(f func(r *Request))
}

type ClientTransaction interface {
Expand Down

0 comments on commit 8cdceda

Please sign in to comment.