File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public class RemoteLRS : ILRS
3030 public Uri endpoint { get ; set ; }
3131 public TCAPIVersion version { get ; set ; }
3232 public String auth { get ; set ; }
33- public Dictionary < String , String > extended { get ; set ; }
33+ public Dictionary < String , String > extended { get ; set ; } = new Dictionary < String , String > ( ) ;
3434
3535 public void SetAuth ( String username , String password )
3636 {
@@ -51,8 +51,8 @@ private class MyHTTPRequest
5151 {
5252 public String method { get ; set ; }
5353 public String resource { get ; set ; }
54- public Dictionary < String , String > queryParams { get ; set ; }
55- public Dictionary < String , String > headers { get ; set ; }
54+ public Dictionary < String , String > queryParams { get ; set ; } = new Dictionary < String , String > ( ) ;
55+ public Dictionary < String , String > headers { get ; set ; } = new Dictionary < String , String > ( ) ;
5656 public String contentType { get ; set ; }
5757 public byte [ ] content { get ; set ; }
5858 }
You can’t perform that action at this time.
0 commit comments