azure-storage-common\src\Common\Models\ServiceOptions.php
You may obtain a copy of the License at https://github.com/azure/azure-storage-php/LICENSE
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
PHP version 5
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2017 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
- Package
- MicrosoftAzure\Storage\Common\Models
\MicrosoftAzure\Storage\Common\Models\ServiceOptions
- Children
- \MicrosoftAzure\Storage\Blob\Models\BlobServiceOptions
- \MicrosoftAzure\Storage\Blob\Models\SetBlobTierOptions
- \MicrosoftAzure\Storage\Table\Models\TableServiceOptions
- \MicrosoftAzure\Storage\Queue\Models\QueueServiceOptions
- \MicrosoftAzure\Storage\File\Models\FileServiceOptions
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2017 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
Methods
__construct( $options = null) : void
Initialize the properties to default value.
Name | Type | Description |
---|---|---|
$options |
generateRequestOptions(array $options) : array
Generate request options using the input options and saved properties.
Name | Type | Description |
---|---|---|
$options | array | The options to be merged for the request options. |
Type | Description |
---|---|
array |
getMiddlewareStack() : \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack
Gets the middleware stack
Type | Description |
---|---|
\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack |
pushMiddleware(callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware $middleware) : void
Push a middleware into the middlewares.
Name | Type | Description |
---|---|---|
$middleware | callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware | middleware to be pushed. |
setDecodeContent(boolean $decodeContent) : void
Sets decodeContent.
Name | Type | Description |
---|---|---|
$decodeContent | boolean | value. |
setIsStreaming(boolean $isStreaming) : void
Sets isStreaming.
Name | Type | Description |
---|---|---|
$isStreaming | boolean | value. |
setLocationMode(string $locationMode) : void
Sets locationMode.
Name | Type | Description |
---|---|---|
$locationMode | string | value. |
setMiddlewareStack(\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack $middlewareStack) : void
Sets the middleware stack.
Name | Type | Description |
---|---|---|
$middlewareStack | \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack | value. |
setMiddlewares(array $middlewares) : void
Sets middlewares.
Name | Type | Description |
---|---|---|
$middlewares | array | value. |
setNumberOfConcurrency(integer $numberOfConcurrency) : void
Sets number of concurrency.
Name | Type | Description |
---|---|---|
$numberOfConcurrency | integer | value. |