GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Twenty-one — EDGARView Integration (continued)
EDGARSessionGetHTTPHandle Function
Overview
The EDGARSessionGetHTTPHandle function returns a handle to the HTTP connection to the current EDGAR session.
Syntax/Parameters
Syntax
hHTTP = EDGARSessionGetHTTPHandle ( handle hSession );
Parameters
hSession
A handle to an open EDGAR session.
Return Value
Returns a handle to the HTTP Object associated with the EDGAR session or a NULL_HANDLE on failure. Use the GetLastError function to retrieve a formatted error code.
Remarks
During the creation of a session, an HTTP connection is opened and managed by the EDGAR session manager. The handle can be retrieved and used to access the system.
HTTP requests must match the unpublished requirements of the EDGAR System. To scrape web pages and access data, the login CIK, session ID and page name must be supplied in each query. In addition, certain cookies are required which are managed by the session manager. As such, the handle to HTTP session supplied this function must be used when making HTTP request.
While the handle should be closed using the CloseHandle function, it only releases the handle, it does not close the HTTP session.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.