Skip to content

Commit

Permalink
Merge pull request #365 from ChrSteinert/master
Browse files Browse the repository at this point in the history
Adds XML docs to the `RouteInfo` type.
  • Loading branch information
Zaid-Ajaj authored Jul 11, 2024
2 parents 7608259 + a0788d6 commit 76a1ebd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Fable.Remoting.Server/Types.fs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ type ParsingArgumentsError = { ParsingArgumentsError: string }

/// Route information that is propagated to error handler when exceptions are thrown
type RouteInfo<'ctx> = {
/// The full path of the request
path: string
/// The last part of the path of the request
methodName: string
/// The HttpContext of the request
httpContext: 'ctx
/// The text content of the request, if any
requestBodyText: string option
}

Expand Down

0 comments on commit 76a1ebd

Please sign in to comment.