feature: add TLS as feature and support multiples TLS backends (currently native-tls and rustls)
This commit is contained in:
parent
751c56e85b
commit
67e61e0606
16 changed files with 355 additions and 179 deletions
|
@ -247,11 +247,9 @@ impl FromStr for Message {
|
|||
args.push(suffix);
|
||||
}
|
||||
|
||||
Message::with_tags(tags, prefix, command, args).map_err(|e| {
|
||||
ProtocolError::InvalidMessage {
|
||||
string: s.to_owned(),
|
||||
cause: e,
|
||||
}
|
||||
Message::with_tags(tags, prefix, command, args).map_err(|e| ProtocolError::InvalidMessage {
|
||||
string: s.to_owned(),
|
||||
cause: e,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue