X-Git-Url: http://nitlanguage.org diff --git a/lib/curl/curl.nit b/lib/curl/curl.nit index 6c14bdc..cb3a132 100644 --- a/lib/curl/curl.nit +++ b/lib/curl/curl.nit @@ -252,7 +252,10 @@ class CurlMail # Content header var headers_body = new HeaderMap is lazy, writable - private var supported_outgoing_protocol: Array[String] = ["smtp", "smtps"] + # Protocols supported to send mail to a server + # + # Default value at `["smtp", "smtps"]` + var supported_outgoing_protocol: Array[String] = ["smtp", "smtps"] # Helper method to add pair values to mail content while building it (ex: "To:", "address@mail.com") private fun add_pair_to_content(str: String, att: String, val: nullable String): String