Added backed functionality for requesting driver options. Send a request message to the socket with a package
{
sid: 12312311,
location: "Some Place",
destination: "Want to go here"
}
Then should send back the user a sorted array by heuristic dictated by shortest detour.
Also added cancel and accept functionality but needs testing and more work as we need to work with clientside to get driver/riders accepting a new user logic sound.
Added backed functionality for requesting driver options. Send a request message to the socket with a package { sid: 12312311, location: "Some Place", destination: "Want to go here" } Then should send back the user a sorted array by heuristic dictated by shortest detour. Also added cancel and accept functionality but needs testing and more work as we need to work with clientside to get driver/riders accepting a new user logic sound.