Remove some code cuplication

This commit is contained in:
Maciej Szlosarczyk 2019-07-30 13:46:55 +03:00
parent 0e46f52630
commit a73f7428fc
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
4 changed files with 10 additions and 16 deletions

View file

@ -8,8 +8,13 @@
epp_verb % Epp verb that is targeted, plus 'error'
}).
-type epp_request() :: #epp_request{}.
-record(valid_frame, {command, cl_trid, raw_frame}).
-record(invalid_frame, {code, cl_trid, message}).
-record(state, {socket, session_id, headers}).
-type epp_request() :: #epp_request{}.
-define(XMLErrorCode, <<"2001">>).