forked from microsoftgraph/microsoft-graph-comms-samples
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHttpRouteConstants.cs
More file actions
38 lines (33 loc) · 1.12 KB
/
HttpRouteConstants.cs
File metadata and controls
38 lines (33 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
namespace RecordingBot.Model.Constants
{
/// <summary>
/// HTTP route constants for routing requests to CallController methods.
/// </summary>
public static class HttpRouteConstants
{
/// <summary>
/// Route prefix for all incoming requests.
/// </summary>
public const string CALL_SIGNALING_ROUTE_PREFIX = "api/calling";
/// <summary>
/// Route for incoming call requests.
/// </summary>
public const string ON_INCOMING_REQUEST_ROUTE = "";
/// <summary>
/// Route for incoming notification requests.
/// </summary>
public const string ON_NOTIFICATION_REQUEST_ROUTE = "notification";
/// <summary>
/// The calls route for both GET and POST.
/// </summary>
public const string CALLS = "calls";
/// <summary>
/// The route for join call.
/// </summary>
public const string JOIN_CALLS = "joinCall";
/// <summary>
/// The route for getting the call.
/// </summary>
public const string CALL_ROUTE = CALLS + "/{callLegId}";
}
}