| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -29,16 +29,6 @@ class DeegraphServer | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $this->AllowSelfSignedCerts = $allowSelfSignedCerts; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * Runs an API request against the Deegraph Server, and returns back information about the Deegraph Server. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return ServerInfo | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public function ServerInfo(): ServerInfo | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $response = $this->RunRawRequest(endpoint: "/api/v1/@server_info"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new ServerInfo(response: $response); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * Runs a request against the Deegraph server. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -169,4 +159,19 @@ class DeegraphServer | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new DeegraphNodeDetails($response); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * Runs an API request against the Deegraph Server, and returns back information about the Deegraph Server. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return ServerInfo | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public function ServerInfo(UUID $actorID): ServerInfo | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $response = $this->RunRawRequest( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            actorID: $actorID, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            endpoint: "/api/v1/@server_info", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            method: "GET", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            body: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new ServerInfo(response: $response); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
					 | 
				
				 | 
				
					
  |