Skip to content

Commit

Permalink
Add support for Event header.
Browse files Browse the repository at this point in the history
RFC states that there MUST be exactly one event type listed
per event header.  Multiple events per message are disallowed.
  • Loading branch information
Matteo Brancaleoni committed Sep 6, 2022
1 parent e441de7 commit 8c10570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sippet/message.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1413,6 +1413,7 @@ defmodule Sippet.Message do
:cseq -> {"CSeq", true}
:date -> {"Date", true}
:error_info -> {"Error-Info", true}
:event -> {"Event", true}
:expires -> {"Expires", true}
:from -> {"From", true}
:in_reply_to -> {"In-Reply-To", true}
Expand Down

0 comments on commit 8c10570

Please sign in to comment.