Skip to content

Commit

Permalink
add url and method to WasmTransformReponse
Browse files Browse the repository at this point in the history
  • Loading branch information
Zwiterrion committed Jun 19, 2024
1 parent 153d554 commit e531931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ pub struct WasmAccessValidatorResponse {

#[derive(Serialize, Deserialize, Debug)]
pub struct WasmTransformerResponse {
pub url: Option<String>,
pub method: Option<String>,
pub headers: HashMap<String, String>,
pub cookies: Value,
pub body_bytes: Option<Vec<u8>>,
Expand Down

0 comments on commit e531931

Please sign in to comment.