Skip to main content
Version: 24.38.0

HTTPRequest.interceptResolutionState() 方法

🌐 HTTPRequest.interceptResolutionState() method

描述当前解析操作和优先级的 InterceptResolutionState 对象。

🌐 An InterceptResolutionState object describing the current resolution action and priority.

InterceptResolutionState 包含:action: InterceptResolutionAction priority?: 数字

🌐 InterceptResolutionState contains: action: InterceptResolutionAction priority?: number

InterceptResolutionAction 是以下之一:abortrespondcontinuedisablednonealready-handled

🌐 InterceptResolutionAction is one of: abort, respond, continue, disabled, none, or already-handled.

语法

🌐 Signature

class HTTPRequest {
interceptResolutionState(): InterceptResolutionState;
}

返回:

拦截解决状态