lib/curl: make `supporter_outgoing_protocols` public
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 8 Jun 2015 13:48:12 +0000 (09:48 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 8 Jun 2015 13:48:12 +0000 (09:48 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/curl/curl.nit

index 6c14bdc..cb3a132 100644 (file)
@@ -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