src/main/php/ehough/shortstop/impl/exec/command/StreamsCommand.php
public function canHandle(ehough_shortstop_api_HttpRequest $request)
    {
        $scheme = $request->getUrl()->getScheme();

        return preg_match_all('/https?/', $scheme, $matches) === 1;
    }
public function canHandle(ehough_shortstop_api_HttpRequest $request)
    {
        $scheme = $request->getUrl()->getScheme();

        return preg_match_all('/https?/', $scheme, $matches) === 1;
    }
public function canHandle ( ehough_shortstop_api_HttpRequest $ request ) { $ scheme = $ request -> getUrl ( ) -> getScheme ( ) ; return preg_match_all ( '/https?/' , $ scheme , $ matches ) === 1 ; }
Determines if this transport can handle the given request.

@param ehough_shortstop_api_HttpRequest $request The request to handle.

@return bool True if this transport can handle the given request. False otherwise.
Determines if this transport can handle the given request .