ResetHeaders Method

Resets all HTTP headers, cookies, and LocalFile.

Object Oriented Interface

public function doResetHeaders();

Procedural Interface

ipworkss3_s3client_do_resetheaders($res);

Remarks

Resets all the HTTP headers as well as LocalFile to "" (empty string), and clears the Metadata* and QueryParam* properties.

Call this method before creating a new request, so that headers and query parameters from the previous request are not carried over to the next one.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S3 2020 PHP Edition - Version 20.0 [Build 7722]