Package TWiki::Net
Object that brokers access to network resources.
On this page:
- ObjectMethod finish ()
- ObjectMethod registerExternalHTTPHandler (\&fn)
- ObjectMethod getExternalResource ($url,\@headers,\%params) -> $response
- ObjectMethod postExternalResource ($url,$content,\@headers,\%params) -> $response
- ObjectMethod setMailHandler (\&fn)
- ObjectMethod sendEmail ($text,$tries) -> $error
ObjectMethod finish ()
Break circular references.ObjectMethod registerExternalHTTPHandler (\&fn)
See TWikiFuncDotPmObjectMethod getExternalResource ($url,\@headers,\%params) -> $response
See TWikiFuncDotPmObjectMethod postExternalResource ($url,$content,\@headers,\%params) -> $response
See TWikiFuncDotPmObjectMethod setMailHandler (\&fn)
-
\&fn
- reference to a function($) (see _sendEmailBySendmail for proto)
ObjectMethod sendEmail ($text,$tries) -> $error
-
$text
- text of the mail, including MIME headers -
$tries
- number of times to try the send (default 1)