// StopProcessor stops a running processor.
// See `LookupProcessorIdentifier`.
StopProcessor stops a running processor.
See `LookupProcessorIdentifier`.
// StopProcessor stops a running processor . // See ` LookupProcessorIdentifier ` .
func (c *Client) StopProcessor(processorID string) error {
	if processorID == "" {
		return errRequired("processorID")
	}
	path := fmt.Sprintf(processorPath+"/stop", processorID)
	resp, err := c.Do(http.MethodPut, path, "", nil)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
func ( c * Client ) StopProcessor ( processorID string ) error { if processorID == " " { return errRequired ( " " ) } path := fmt . Sprintf ( processorPath + " " , processorID ) resp , err := c . Do ( http . MethodPut , path , " " , nil ) if err != nil { return err } return resp . Body . Close ( ) }
StopProcessor stops a running processor.
StopProcessor stops a running processor .