略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: VarnishAdmin

2024-11-15

The VarnishAdmin class

(PECL varnish >= 0.3)

简介

类摘要

class VarnishAdmin {
/* 方法 */
public auth(): bool
public ban(string $vcl_regex): int
public banUrl(string $vcl_regex): int
public clearPanic(): int
public connect(): bool
public __construct(array $args = ?)
public disconnect(): bool
public getPanic(): string
public getParams(): array
public isRunning(): bool
public setCompat(int $compat): void
public setHost(string $host): void
public setIdent(string $ident): void
public setParam(string $name, string|int $value): int
public setPort(int $port): void
public setSecret(string $secret): void
public setTimeout(int $timeout): void
public start(): int
public stop(): int
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.varnishadmin.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3