Daya Bay Reactor Neutrino Experiment TWiki > TWikiNetDotPm Daya Bay webs:
Public | 中文 | Internal | Help

Log In or Register

Package TWiki::Net

Object that brokers access to network resources.

On this page:

ObjectMethod finish ()

Break circular references.

ObjectMethod registerExternalHTTPHandler (\&fn)

See TWikiFuncDotPm#RegisterExternalHTTPHandler

ObjectMethod getExternalResource ($url,\@headers,\%params) -> $response

See TWikiFuncDotPm#GetExternalResource

ObjectMethod postExternalResource ($url,$content,\@headers,\%params) -> $response

See TWikiFuncDotPm#PostExternalResource

ObjectMethod setMailHandler (\&fn)

Install a handler function to take over mail sending from the default SMTP or sendmail methods. This is provided mainly for tests that need to be told when a mail is sent, without actually sending it. It may also be useful in the event that someone needs to plug in an alternative mail handling method.

ObjectMethod sendEmail ($text,$retries) -> $error

Send an email specified as MIME format content. Date: ...\nFrom: ...\nTo: ...\nCC: ...\nSubject: ...\n\nMailBody...



Revision: r5 - 2013-10-14 - 16:02:47 - TWikiContributor

Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiNetDotPm.