actix / actix-extras
Showing 1 of 1 files from the diff.

@@ -173,8 +173,8 @@
Loading
173 173
    /// Determinate allowed origins by processing requests which didn't match any origins specified
174 174
    /// in the `allowed_origin`.
175 175
    ///
176 -
    /// The function will receive a `RequestHead` of each request, which can be used to determine
177 -
    /// whether it should be allowed or not.
176 +
    /// The function will receive two parameters, the Origin header value, and the `RequestHead` of
177 +
    /// each request, which can be used to determine whether to allow the request or not.
178 178
    ///
179 179
    /// If the function returns `true`, the client's `Origin` request header will be echoed back
180 180
    /// into the `Access-Control-Allow-Origin` response header.
Files Coverage
actix-cors 90.26%
actix-redis 81.08%
actix-session/src 89.07%
actix-web-httpauth/src 61.01%
actix-identity/src/lib.rs 95.96%
actix-protobuf/src/lib.rs 48.62%
Project Totals (29 files) 81.46%
1
comment: false
2

3
ignore: # ignore codecoverage on following paths
4
  - "**/examples"
5
  - ".github"
6
  - "**/*.md"
7
  - "**/*.toml"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading