Skip to content

Miscellaneous Methods

This section describes HttpCommand shared methods that don't conveniently fit into other categories.

Version

Returns HttpCommand version information.

Syntax r←HttpCommand.Version
Result A 3-element vector of:
  • 'HttpCommand'
  • The version number
  • The version date
Example HttpCommand.Version
HttpCommand 5.0.2 2022-08-03

Documentation

Returns a link to the documentation for HttpCommand that you can click on to navigate to this documentation.

Syntax r←HttpCommand.Documentation
Example HttpCommand.Documentation
See https://dyalog.github.io/HttpCommand/

Upgrade

Upgrade checks GitHub for a newer version of HttpCommand and if one is found it will be ⎕FIXed in the workspace.

Upgrade will not work on Classic interpreters. To manually upgrade HttpCommand:

Note: Upgrade will only update the in-workspace copy of HttpCommand and will not update the version of HttpCommand found in the Dyalog installation folder. The installed version of HttpCommand is upgraded when updates to Dyalog APL are installed.

Syntax r←HttpCommand.Upgrade
r a 2-element vector of
  • the return code which is 1 if HttpCommand was upgraded to a newer version, 0 if HttpCommand on GitHub is not newer than the current version, or ¯1 if there was an error ⎕FIXing HttpCommand from GitHub.
  • character vector message describing the result
Example HttpCommand.Upgrade
0 Already using the most current version: HttpCommand 5.0.2 2022-08-03