::: header
:::
Overview Directory File Source
{align=“top”} Etc Categories Search Index Help User documentation
single page{target=“_top”} | use frames{target=“_top”} summary class fields routine details file attributes
::: content
\
::: {#file_comments} ::: small This class represents the remotely callable interface to NASA’s Space Physics Data Facility (SPDF) RESTful Web services. ::: :::
Author
: B. Harris
Copyright
: Copyright (c) 2013-2021 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.
::: class-description
Subclasses: SpdfSsc
::: details
sslVerifyPeer [init ]{.smaller}
:
userAgent [init ]{.smaller}
:
:::
:::
::: class-description
:::
result]{.var} = SpdfRest::init([endpoint]{.argument}[, version]{.argument}[, currentVersionUrl]{.argument}[ [, userAgent=[string]{.var}]]{.argument}[ [, sslVerifyPeer=[int]{.var}]]{.argument})result]{.var} = SpdfRest::getUserAgent()result]{.var} = SpdfRest::getEndpoint()result]{.var} = SpdfRest::getDefaultSslVerifyPeer()SpdfRest::cleanup: Creates an object representing the SPDF Web service.
: Performs cleanup operations when this object is destroyed.
[result]{.var} = SpdfRest::getDefaultSslVerifyPeer()
: Gets the default value for the IDLnetURL SSL_VERIFY_PEER property based upon the runtime version of IDL.
[result]{.var} = SpdfRest::getEndpoint()
: Gets the current endpoint value.
[result]{.var} = SpdfRest::getUserAgent()
: Gets the current userAgent value.
[result]{.var} = SpdfSsc::getDefaultDataview()
: Gets the current defaultDataview value.
[result]{.var} = SpdfSsc::getVersion()
: Gets the version of this class.
[result]{.var} = SpdfSsc::getCurrentVersion()
: Gets the most up to date version of this class.
[result]{.var} = SpdfSsc::isUpToDate()
: Compares getVersion() and getCurrentVersion() to determine if this class is up to date.
: Defines the SpdfRest class.
::: {#routine-details}
::: {#SpdfRest::init .routine-details .details}
[result]{.var} = SpdfRest::init([endpoint]{.argument}[, version]{.argument}[, currentVersionUrl]{.argument}[[,userAgent=[string]{.var}]]{.argument}[[,sslVerifyPeer=[int]{.var}]]{.argument})
Creates an object representing the SPDF Web service. If access to the Internet is through an HTTP proxy, the caller should ensure that the HTTP_PROXY environment variable is correctly set before this method is called. The HTTP_PROXY value should be of the form http://username:password@hostname:port/. NOTE: Due to support for the HTTP_PROXY environment variable, this class should not be used in a CGI-like environment where HTTP_PROXY can be set by untrusted entities (see httpoxy vulnerability).
::: small a reference to a SSC object. :::
endpoint [in type=string ]{.smaller}
: URL of SPDF web service.
version [in type=string ]{.smaller}
: class version.
currentVersionUrl [in type=string ]{.smaller}
: URL to the file identifying the most up to date version of this class.
userAgent [in optional type=string default=SscWs]{.smaller}
: HTTP user-agent value used in communications with SPDF.
sslVerifyPeer [in optional type=int default=1]{.smaller}
: Specifies whether the authenticity of the peer’s SSL certificate should be verified. When 0, the connection succeeds regardless of what the peer SSL certificate contains. :::
::: {#SpdfRest::cleanup .routine-details .details}
SpdfRest::cleanup
Performs cleanup operations when this object is destroyed.
::: {#SpdfRest::getDefaultSslVerifyPeer .routine-details .details}
[result]{.var} = SpdfRest::getDefaultSslVerifyPeer()
Gets the default value for the IDLnetURL SSL_VERIFY_PEER property based upon the runtime version of IDL.
::: small 0 if runtime version of IDL cannot verify new SSL certificates. Otherwise, 1. ::: :::
::: {#SpdfRest::getEndpoint .routine-details .details}
[result]{.var} = SpdfRest::getEndpoint()
Gets the current endpoint value.
::: small current endpoint string value. ::: :::
::: {#SpdfRest::getUserAgent .routine-details .details}
[result]{.var} = SpdfRest::getUserAgent()
Gets the current userAgent value.
::: small current userAgent string value. ::: :::
::: {#SpdfSsc::getDefaultDataview .routine-details .details}
[result]{.var} = SpdfSsc::getDefaultDataview()
Gets the current defaultDataview value.
::: small current defaultDataview string value. ::: :::
::: {#SpdfSsc::getVersion .routine-details .details}
[result]{.var} = SpdfSsc::getVersion()
Gets the version of this class.
::: small version of this class. ::: :::
::: {#SpdfSsc::getCurrentVersion .routine-details .details}
[result]{.var} = SpdfSsc::getCurrentVersion()
Gets the most up to date version of this class.
::: small most up to date version of this class. ::: :::
::: {#SpdfSsc::isUpToDate .routine-details .details}
[result]{.var} = SpdfSsc::isUpToDate()
Compares getVersion() and getCurrentVersion() to determine if this class is up to date.
::: small true if getVersion() >= getCurrentVersion(). Otherwise false. ::: :::
::: {#SpdfRest__define .routine-details .details}
SpdfRest__define
Defines the SpdfRest class.
::: {#attributes}
Modification date: Fri May 13 08:54:13 2022 Lines: 304
:::
SSC
Feedback.
:::
::: footer
Produced by IDLdoc 3.6.4 on Mon Apr 8 09:51:01 2024 IDLdoc project information{target=“_top”}
:::