RestRequestSqliteCache constructor

RestRequestSqliteCache(
  1. Request request
)

REST implementation of RequestSqliteCache

Implementation

RestRequestSqliteCache(http.Request request)
    : super(
        attemptColumn: HTTP_JOBS_ATTEMPTS_COLUMN,
        createdAtColumn: HTTP_JOBS_CREATED_AT_COLUMN,
        lockedColumn: HTTP_JOBS_LOCKED_COLUMN,
        primaryKeyColumn: HTTP_JOBS_PRIMARY_KEY_COLUMN,
        request: request,
        requestColumns: [
          HTTP_JOBS_BODY_COLUMN,
          HTTP_JOBS_ENCODING_COLUMN,
          HTTP_JOBS_REQUEST_METHOD_COLUMN,
          HTTP_JOBS_URL_COLUMN,
        ],
        tableName: HTTP_JOBS_TABLE_NAME,
        updateAtColumn: HTTP_JOBS_UPDATED_AT,
      );