package com.microservices.gateway.service;

import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

/**
 * 第三方工具服务类
 *
 * @author OTTO
 */
public interface ThirdPartyToolService {

    /**
     * 处理第三方工具请求
     *
     * @param exchange
     * @param request  请求
     * @param mutate   请求头获取器
     */
    Mono<Void> handleRequestForThirdPartyTools(ServerWebExchange exchange, ServerHttpRequest request, ServerHttpRequest.Builder mutate);
}
