isSse method

bool isSse(
  1. String method
)

Implementation

bool isSse(String method) {
  switch (method) {
    case 'getSse':
    case 'postSse':
    case 'putSse':
    case 'patchSse':
    case 'deleteSse':
      return true;
    default:
      return false;
  }
}